mirror of
https://github.com/ceph/ceph
synced 2024-12-19 01:46:00 +00:00
os/bluestore: fsck: dump_onode after shards are loaded
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
44c3ec81e9
commit
2045431c61
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user