]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: scattered page writeback
authorYan, Zheng <zyan@redhat.com>
Thu, 7 Jan 2016 08:00:17 +0000 (16:00 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 25 Mar 2016 17:51:51 +0000 (18:51 +0100)
commit8e5691f43d13db8789f97cca4aa5e10dc490fbaa
tree76c270895d1b216695c569fb8fc99f7cdf28c622
parentcbfb3b493abadfad1084685f8c409617d236de7e
ceph: scattered page writeback

This patch makes ceph_writepages_start() try using single OSD request
to write all dirty pages within a strip unit. When a nonconsecutive
dirty page is found, ceph_writepages_start() tries starting a new write
operation to existing OSD request. If it succeeds, it uses the new
operation to writeback the dirty page.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/addr.c