]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd: introduce debug to ClientRequest::reply_op_error() 48349/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 3 Oct 2022 21:31:18 +0000 (21:31 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 3 Oct 2022 21:31:18 +0000 (21:31 +0000)
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/crimson/osd/osd_operations/client_request.cc

index e23c4aeeddfc0cc1b8323e223322ffd87f10b2a1..a710b806faaa5ba0265b1e10c17604bda19c3691 100644 (file)
@@ -254,6 +254,7 @@ ClientRequest::process_op(instance_handle_t &ihref, Ref<PG> &pg)
 
 auto ClientRequest::reply_op_error(Ref<PG>& pg, int err)
 {
+  logger().debug("{}: replying with error {}", *this, err);
   auto reply = crimson::make_message<MOSDOpReply>(
     m.get(), err, pg->get_osdmap_epoch(),
     m->get_flags() & (CEPH_OSD_FLAG_ACK|CEPH_OSD_FLAG_ONDISK),