ceph: add fscache writeback support
authorJeff Layton <jlayton@kernel.org>
Tue, 7 Dec 2021 13:44:51 +0000 (08:44 -0500)
committerDavid Howells <dhowells@redhat.com>
Tue, 11 Jan 2022 22:13:01 +0000 (22:13 +0000)
commit1702e79734104d711a84ff55bd6a93c21947bc01
treeae219a84e48645c6ae3a5c047a9caad44a1b0bfa
parent400e1286c0ec3fd13d7ac0705c3c175bcb6d2899
ceph: add fscache writeback support

When updating the backing store from the pagecache (a'la writepage or
writepages), write to the cache first. This allows us to keep caching
files even when they are being written, as long as we have appropriate
caps.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/20211129162907.149445-3-jlayton@kernel.org/
Link: https://lore.kernel.org/r/20211207134451.66296-3-jlayton@kernel.org/
Link: https://lore.kernel.org/r/163906985808.143852.1383891557313186623.stgit@warthog.procyon.org.uk/
Link: https://lore.kernel.org/r/163967190257.1823006.16713609520911954804.stgit@warthog.procyon.org.uk/
Link: https://lore.kernel.org/r/164021585020.640689.6765214932458435472.stgit@warthog.procyon.org.uk/
fs/ceph/addr.c