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)
commit5b64640cf65be4a029728c390e9b97afce2a493d
tree76c270895d1b216695c569fb8fc99f7cdf28c622
parent2c63f49a724a10bb71cc0fd34f8e5acce78525d5
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