Re: [PATCH] libceph: encapsulate connection kvec operations

2012-03-02 Thread Sage Weil
Ah, nice cleanup. Reviewed-by: Sage Weil s...@newdream.net On Tue, 28 Feb 2012, Alex Elder wrote: Encapsulate the operation of adding a new chunk of data to the next open slot in a ceph_connection's out_kvec array. Also add a reset operation to make subsequent add operations start at the

[PATCH] libceph: encapsulate connection kvec operations

2012-02-28 Thread Alex Elder
Encapsulate the operation of adding a new chunk of data to the next open slot in a ceph_connection's out_kvec array. Also add a reset operation to make subsequent add operations start at the beginning of the array again. Use these routines throughout, avoiding duplicate code and ensuring all