]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: include op_returns in pg log [dup] records, reply
authorSage Weil <sage@redhat.com>
Tue, 24 Sep 2019 19:31:31 +0000 (14:31 -0500)
committerSage Weil <sage@redhat.com>
Wed, 25 Sep 2019 18:29:10 +0000 (13:29 -0500)
commitc9746ff62e79e0bcd4251efa0d6875558d213ed7
tree844689f96829356ab63233b379177ea0b5b77c7d
parent2027eb2584af5a8fec8b335df43ac1e3815aa7a8
osd/PrimaryLogPG: include op_returns in pg log [dup] records, reply

If the op has the RETURNVEC flag set,

- Record the per-op return value and overall return code in the pg log and
  dup records.
- Include the same in the actual MOSDOpReply back to the client.

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