Feature #9957
Updated by Sage Weil over 8 years ago
Add an fadvise operation to ObjectOperation. Mirror posix_fadvise(2).
Add it right around here: https://github.com/ceph/ceph/blob/master/src/include/rados/librados.hpp#L338
Probably use these hints:
DONTNEED don't cache
RANDOM don't do readahead
SEQUENTIAL will read/write more
WILLNEED positive indication that we should cache something
but not
? NOREUSE? this is sort of the same as DONTNEED?
Add it right around here: https://github.com/ceph/ceph/blob/master/src/include/rados/librados.hpp#L338
Probably use these hints:
DONTNEED don't cache
RANDOM don't do readahead
SEQUENTIAL will read/write more
WILLNEED positive indication that we should cache something
but not
? NOREUSE? this is sort of the same as DONTNEED?