On Wed, Oct 7, 2015 at 10:50 AM, Sage Weil <s...@newdream.net> wrote: > It's not, but it would not be ahrd to do this. There are fadvise-style > hints being passed down that could trigger O_DIRECT reads in this case. > That may not be the best choice, though--it won't use data that happens > to be in cache and it'll also throw it out.. > > On Wed, 7 Oct 2015, Pawe? Sadowski wrote: > >> Hi, >> >> Can anyone tell if deep scrub is done using O_DIRECT flag or not? I'm >> not able to verify that in source code. >> >> If not would it be possible to add such feature (maybe config option) to >> help keeping Linux page cache in better shape? >> >> Thanks,
When I was working on preadv2 somebody brought up a per operation O_DIRECT flag. There wasn't a clear use case at the time (outside of to saying Linus would "love that"). >> >> -- >> PS >> >> _______________________________________________ >> ceph-users mailing list >> ceph-users@lists.ceph.com >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >> >> > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Milosz Tanski CTO 16 East 34th Street, 15th floor New York, NY 10016 p: 646-253-9055 e: mil...@adfin.com _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com