]> 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)
commit05a7a8081a1ddd1dbf6e58d04cbfd8b4f93f4a85
treeae219a84e48645c6ae3a5c047a9caad44a1b0bfa
parent387474f71fc7941d186fa012cfe54d026d91f7be
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