Skip to content
Commit b5b98989 authored by Zhu, Caifeng's avatar Zhu, Caifeng Committed by Ilya Dryomov
Browse files

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: default avatarZhu, Caifeng <zhucaifeng@unissoft-nj.com>
Signed-off-by: default avatarYan, Zheng <zyan@redhat.com>
parent 777d738a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment