diff options
author | Jeff Layton <jlayton@kernel.org> | 2021-01-21 16:27:14 -0500 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2021-04-27 23:52:21 +0200 |
commit | 7c46b31809337df12a538239e6caa41df7c7deec (patch) | |
tree | 6e3256c9eda9ee7b880137bd1e0e427575990e46 /lib/locking-selftest-rlock-hardirq.h | |
parent | e7df4524cd9a6a006f9e12f3d908e5af69dfa145 (diff) | |
download | lwn-7c46b31809337df12a538239e6caa41df7c7deec.tar.gz lwn-7c46b31809337df12a538239e6caa41df7c7deec.zip |
ceph: rework PageFsCache handling
With the new fscache API, the PageFsCache bit now indicates that the
page is being written to the cache and shouldn't be modified or released
until it's finished.
Change releasepage and invalidatepage to wait on that bit before
returning.
Also define FSCACHE_USE_NEW_IO_API so that we opt into the new fscache
API.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'lib/locking-selftest-rlock-hardirq.h')
0 files changed, 0 insertions, 0 deletions