From 2045431c619bfeb2ed2f769c62ed90d85feb9cfb Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 2 Feb 2017 14:12:05 -0500 Subject: [PATCH] os/bluestore: fsck: dump_onode after shards are loaded Signed-off-by: Sage Weil --- src/os/bluestore/BlueStore.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index a151dcff5fb..cf70f884b5e 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -4755,7 +4755,6 @@ int BlueStore::fsck(bool deep) dout(10) << __func__ << " " << oid << dendl; RWLock::RLocker l(c->lock); OnodeRef o = c->get_onode(oid, false); - _dump_onode(o, 30); if (o->onode.nid) { if (o->onode.nid > nid_max) { derr << __func__ << " " << oid << " nid " << o->onode.nid @@ -4773,6 +4772,7 @@ int BlueStore::fsck(bool deep) ++num_objects; num_spanning_blobs += o->extent_map.spanning_blob_map.size(); o->extent_map.fault_range(db, 0, OBJECT_MAX_SIZE); + _dump_onode(o, 30); // shards if (!o->extent_map.shards.empty()) { ++num_sharded_objects;