]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ceph: extend ceph_writeback_ctl for ceph_writepages_start() refactoring
authorViacheslav Dubeyko <Slava.Dubeyko@ibm.com>
Wed, 5 Feb 2025 00:02:46 +0000 (16:02 -0800)
committerChristian Brauner <brauner@kernel.org>
Fri, 28 Feb 2025 10:20:15 +0000 (11:20 +0100)
commitf08068df4aa411465319bfb796dc6a2228131bc5
tree6a798eb81712bf519e94d2749704a9396563f352
parent2014c95afecee3e76ca4a56956a936e23283f05b
ceph: extend ceph_writeback_ctl for ceph_writepages_start() refactoring

The ceph_writepages_start() has unreasonably huge size and
complex logic that makes this method hard to understand.
Current state of the method's logic makes bug fix really
hard task. This patch extends the struct ceph_writeback_ctl
with the goal to make ceph_writepages_start() method
more compact and easy to understand by means of deep refactoring.

Signed-off-by: Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>
Link: https://lore.kernel.org/r/20250205000249.123054-2-slava@dubeyko.com
Tested-by: David Howells <dhowells@redhat.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/ceph/addr.c