]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6c2d2bf3e335923c1b3e0d7afa2083414b42a8cd
treeae219a84e48645c6ae3a5c047a9caad44a1b0bfa
parentd40c1e98cdbddca06127d686b9acb95eccce1f57
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