]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
messages/MOSDOpReply: assert no write result payloads
authorSage Weil <sage@redhat.com>
Thu, 5 Sep 2019 16:09:27 +0000 (11:09 -0500)
committerSage Weil <sage@redhat.com>
Fri, 6 Sep 2019 02:13:52 +0000 (21:13 -0500)
commit7302e890f1caebfa992361e86df352ced2a52c7d
tree29605db1a848b2b5af8313d11c4e5f417854f0d2
parentbfc4c06a34c9bb37ccc21fa7a73f709127588805
messages/MOSDOpReply: assert no write result payloads

Historically, we have cleared any outdata for writes.  Soon we will start
allowing these by recording them in the pglog.  First, let's assert these
are empty to ensure that aren't any misbehaving users we don't know about.

We only assert the *write* ops have no output buffer, since there may be
a compound op that is preceded by read ops.

Signed-off-by: Sage Weil <sage@redhat.com>
src/messages/MOSDOpReply.h