]> 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)
commit6b90ff530697f85c64a5ba4b22c5260c2a9cdad9
tree89e28fde957db2d813d69c2f96a0934bdb455941
parent3772ed886863d72b46ca0a400fdaaabf43c971c3
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