summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authormajianpeng <majianpeng@gmail.com>2013-09-12 13:54:26 +0800
committerSage Weil <sage@inktank.com>2013-12-13 09:13:17 -0800
commite8344e668915a7488def414f016dbf7d9fce84b5 (patch)
treef0ea6b254a90b29a8041b95464351a2976625cef /samples
parent9f12bd119e408388233e7aeb1152f372a8b5dcad (diff)
ceph: Implement writev/pwritev for sync operation.
For writev/pwritev sync-operatoin, ceph only do the first iov. I divided the write-sync-operation into two functions. One for direct-write, other for none-direct-sync-write. This is because for none-direct-sync-write we can merge iovs to one. But for direct-write, we can't merge iovs. Signed-off-by: Jianpeng Ma <majianpeng@gmail.com> Reviewed-by: Yan, Zheng <zheng.z.yan@intel.com> Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions