mirror of
https://github.com/ceph/ceph
synced 2025-03-29 23:09:47 +00:00
os/Transaction: dump alloc hint flags in op
Signed-off-by: Zengran Zhang <zhangzengran@sangfor.com.cn>
This commit is contained in:
parent
e9900a11ec
commit
12289f1a49
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user