[PATCH V2 2/2] ceph: Implement writev/pwritev for sync operation.

2013-09-06 Thread kedacomkernel
For writev/pwritev sync-operatoin, ceph only do the first iov. It don't think other iovs.Now implement this. 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

Re: [PATCH V2 2/2] ceph: Implement writev/pwritev for sync operation.

2013-09-06 Thread Yan, Zheng
On 09/06/2013 04:48 PM, kedacomkernel wrote: For writev/pwritev sync-operatoin, ceph only do the first iov. It don't think other iovs.Now implement this. I divided the write-sync-operation into two functions.One for direct-write,other for none-direct-sync-write.This is because for