This set cleans up and reorganizes the readpage, writepage and write_begin code in ceph, with the resulting code (hopefully) being a bit more clear. There should be no behavioral changes here. This should also help prepare ceph for some coming changes to the fscache infrastructure and fscrypt I/O path integration. There's also a modest reduction in LoC. Jeff Layton (5): ceph: break out writeback of incompatible snap context to separate function ceph: don't call ceph_update_writeable_page from page_mkwrite ceph: fold ceph_sync_readpages into ceph_readpage ceph: fold ceph_sync_writepages into writepage_nounlock ceph: fold ceph_update_writeable_page into ceph_write_begin fs/ceph/addr.c | 369 ++++++++++++++++++++++--------------------------- 1 file changed, 169 insertions(+), 200 deletions(-) -- 2.26.2