diff options
author | 2012-02-14 14:05:33 -0600 | |
---|---|---|
committer | 2012-03-22 10:47:50 -0500 | |
commit | 859eb7994876f26fd9f52d9589fbcab8e2fe8069 (patch) | |
tree | 128067d342a4937228ac5c307c153b9b95ec254e /lib/dma-debug.c | |
parent | libceph: move prepare_write_banner() (diff) | |
download | linux-rng-859eb7994876f26fd9f52d9589fbcab8e2fe8069.tar.xz linux-rng-859eb7994876f26fd9f52d9589fbcab8e2fe8069.zip |
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 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions