diff options
author | Serapheim Dimitropoulos <[email protected]> | 2019-01-30 09:54:27 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-01-30 09:54:27 -0800 |
commit | 21e7cf5da89f55ce98ec1115726b150e19eefe89 (patch) | |
tree | 0355140529f133643b1cdb9a9f3da417d5a3a2e7 /module/zfs | |
parent | 466f55334ac9b353948d4309bbcd44573e9a3024 (diff) |
zdb -L should skip leak detection altogether
Currently the point of -L option in zdb is to disable leak
tracing and the loading of space maps because they are expensive,
yet still do leak detection in terms of space. Unfortunately,
there is a scenario where this is a lie. If we are using zdb -L
on a pool where a vdev is being removed, zdb_claim_removing()
will open the metaslab space maps of that device.
This patch makes it so zdb -L skips leak detection altogether
and ensures that no space maps are loaded.
Reviewed-by: Matt Ahrens <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Serapheim Dimitropoulos <[email protected]>
Closes #8335
Diffstat (limited to 'module/zfs')
0 files changed, 0 insertions, 0 deletions