commit | 2c63f49a724a10bb71cc0fd34f8e5acce78525d5 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Thu Jan 07 17:32:54 2016 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Fri Mar 25 18:51:43 2016 +0100 |
tree | 89e28fde957db2d813d69c2f96a0934bdb455941 | |
parent | 3f1af42ad0fad8a12242233dd0d9fc42f5e83415 [diff] |
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>