diff options
author | Alex Elder <elder@dreamhost.com> | 2012-02-14 14:05:33 -0600 |
---|---|---|
committer | Alex Elder <elder@dreamhost.com> | 2012-03-22 10:47:50 -0500 |
commit | 859eb7994876f26fd9f52d9589fbcab8e2fe8069 (patch) | |
tree | 128067d342a4937228ac5c307c153b9b95ec254e /virt/kvm | |
parent | 963be4d7709f84d865f76d12d5b0ec7edad1c498 (diff) |
libceph: encapsulate connection kvec operations
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 calls are handled consistently.
Signed-off-by: Alex Elder <elder@dreamhost.com>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions