]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: plug write_begin into read helper
authorJeff Layton <jlayton@kernel.org>
Fri, 5 Jun 2020 14:43:21 +0000 (10:43 -0400)
committerJeff Layton <jlayton@kernel.org>
Thu, 28 Jan 2021 12:36:14 +0000 (07:36 -0500)
commitd7e7695d7aebd201cd7122b123a36c7cd16bdb02
tree890ba28d5ec953dd8ab42aa64871c37560391af2
parent1cf7fdf52d5a7b39d278197d07e6d252684ea7a6
ceph: plug write_begin into read helper

Convert ceph_write_begin to use the netfs_write_begin helper. Most of
the ops we need for it are already in place from the readpage conversion
but we do add a new check_write_begin op since ceph needs to be able to
vet whether there is an incompatible writeback already in flight before
reading in the page.

With this, we can also remove the old ceph_do_readpage helper.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
fs/ceph/addr.c