From: majianpeng Date: Thu, 12 Sep 2013 05:54:26 +0000 (+0800) Subject: ceph: Implement writev/pwritev for sync operation. X-Git-Tag: v3.14-rc1~71^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8344e668915a7488def414f016dbf7d9fce84b5;p=pandora-kernel.git 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 Reviewed-by: Yan, Zheng Signed-off-by: Sage Weil --- Reading git-diff-tree failed