Bug #3397
zdb <pool> <objnum> output is too verbose
Start date:
2012-12-04
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
For 'zdb <dataset> <objnum>' zdb only outputs information about the given object, but if <dataset> is actually a pool name (i.e. does not contain '/' or '@') it starts down the code path that prints all information about the entire pool (e.g. metaslabs, deferred free lists) and tries to find the given object number in EVERY dataset in the entire pool, which ends up causing the command to fail pretty much all the time since the object number probably doesn't exist in at least one file system. If a user uses that command format I imagine what they actually want is only information about the given object in the MOS, I don't see how the old output could possibly have been useful to anyone.
Updated by Rich Lowe about 8 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
- Tags deleted (
needs-triage)
Resolved in e690fb2