commit | b5b98989dc7ed2093aeb76f2d0db79888582b0a2 | [log] [tgz] |
---|---|---|
author | Zhu, Caifeng <zhucaifeng@unissoft-nj.com> | Thu Oct 08 15:26:15 2015 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Nov 02 23:36:47 2015 +0100 |
tree | 5684938d5d0441c609a39d6211d82639d0b90918 | |
parent | 777d738a5e58ba3b6f3932ab1543ce93703f4873 [diff] |
ceph: combine as many iovec as possile into one OSD request Both ceph_sync_direct_write and ceph_sync_read iterate iovec elements one by one, send one OSD request for each iovec. This is sub-optimal, We can combine serveral iovec into one page vector, and send an OSD request for the whole page vector. Signed-off-by: Zhu, Caifeng <zhucaifeng@unissoft-nj.com> Signed-off-by: Yan, Zheng <zyan@redhat.com>