]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: add helper that duplicates last extent operation
authorYan, Zheng <zyan@redhat.com>
Thu, 7 Jan 2016 09:32:54 +0000 (17:32 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 25 Mar 2016 17:51:43 +0000 (18:51 +0100)
commitcbfb3b493abadfad1084685f8c409617d236de7e
tree89e28fde957db2d813d69c2f96a0934bdb455941
parent1a8b3bc2436f5b454de3a60942e989d8556eb677
libceph: add helper that duplicates last extent operation

This helper duplicates last extent operation in OSD request, then
adjusts the new extent operation's offset and length. The helper
is for scatterd page writeback, which adds nonconsecutive dirty
pages to single OSD request.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
include/linux/ceph/osd_client.h
net/ceph/osd_client.c