]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librados: add a RETURNVEC flag
authorSage Weil <sage@redhat.com>
Mon, 23 Sep 2019 22:22:03 +0000 (17:22 -0500)
committerSage Weil <sage@redhat.com>
Wed, 25 Sep 2019 16:06:10 +0000 (11:06 -0500)
commit330f6f3ae986aaf3ef4c4a5f2d2099da2a2f5d02
tree54f49c7dd96d5e7ef4f4ccfd8ee8a9a2c79d7735
parent7985d9593d5dd86df75edbcc7a70de0db5e803bd
librados: add a RETURNVEC flag

This signals that the client is soliciting and expecting return codes
that are >0 and/or return buffers on update ops.

This should be used with caution, since it means that compound requests
that include read and write requests will *also* persist the read ops in
order to be idempotent, which means that those ops' results may get
truncated.

Signed-off-by: Sage Weil <sage@redhat.com>
src/include/rados.h
src/include/rados/librados.h
src/include/rados/librados.hpp
src/librados/librados_util.cc
src/osd/OSD.cc
src/osd/OpRequest.cc
src/osd/OpRequest.h
src/osd/osd_types.cc
src/osd/osd_types.h