]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: assert write result == 0
authorSage Weil <sage@redhat.com>
Thu, 5 Sep 2019 16:10:23 +0000 (11:10 -0500)
committerSage Weil <sage@redhat.com>
Fri, 6 Sep 2019 02:13:49 +0000 (21:13 -0500)
commitbfc4c06a34c9bb37ccc21fa7a73f709127588805
tree9d08da402fa41718ee8fdf833ce2bcd5c506e368
parent0541814930131f23150613c253174fe91b06a035
osd/PrimaryLogPG: assert write result == 0

Historically, we have zeroed the result for any successful write op.
Soon, we will allow results >= 0 (e.g., from cls ops).  First, let's assert
these are zero, so we can catch any misbehaving users.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PrimaryLogPG.cc