From: Zengran Zhang Date: Thu, 4 Jul 2019 13:55:15 +0000 (+0800) Subject: os/Transaction: dump alloc hint flags in op X-Git-Tag: v15.1.0~1980^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=12289f1a4902408b824c9d9c9cf7ffae0bbecb7f;p=ceph-ci.git os/Transaction: dump alloc hint flags in op Signed-off-by: Zengran Zhang --- diff --git a/src/os/Transaction.cc b/src/os/Transaction.cc index d3a04579dda..0701e14daa5 100644 --- a/src/os/Transaction.cc +++ b/src/os/Transaction.cc @@ -493,11 +493,13 @@ void Transaction::dump(ceph::Formatter *f) ghobject_t oid = i.get_oid(op->oid); uint64_t expected_object_size = op->expected_object_size; uint64_t expected_write_size = op->expected_write_size; + uint32_t alloc_hint_flags = op->alloc_hint_flags; f->dump_string("op_name", "op_setallochint"); f->dump_stream("collection") << cid; f->dump_stream("oid") << oid; f->dump_stream("expected_object_size") << expected_object_size; f->dump_stream("expected_write_size") << expected_write_size; + f->dump_string("alloc_hint_flags", ceph_osd_alloc_hint_flag_string(alloc_hint_flags)); } break;