ceph: break out writeback of incompatible snap context to separate function
authorJeff Layton <jlayton@kernel.org>
Thu, 28 May 2020 17:56:54 +0000 (13:56 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 12 Oct 2020 13:29:27 +0000 (15:29 +0200)
commit18d620f063b0780db2a86343dcf3a18e363626b9
treef96a03dfecd5095563b259db5f1a45c08312d3ff
parent4bb926e83f1e2d80409cc8b45336f5f303d49315
ceph: break out writeback of incompatible snap context to separate function

When dirtying a page, we have to flush incompatible contexts. Move the
search for an incompatible context into a separate function, and fix up
the caller to wait and retry if there is one.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/addr.c