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 /man | |
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 'man')
-rw-r--r-- | man/man8/zdb.8 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man/man8/zdb.8 b/man/man8/zdb.8 index 79d6f8af7..141a7e853 100644 --- a/man/man8/zdb.8 +++ b/man/man8/zdb.8 @@ -10,7 +10,7 @@ .\" .\" .\" Copyright 2012, Richard Lowe. -.\" Copyright (c) 2012, 2017 by Delphix. All rights reserved. +.\" Copyright (c) 2012, 2018 by Delphix. All rights reserved. .\" Copyright 2017 Nexenta Systems, Inc. .\" Copyright (c) 2017 Lawrence Livermore National Security, LLC. .\" Copyright (c) 2017 Intel Corporation. @@ -194,7 +194,7 @@ If the option is also specified, also display the uberblocks on this device. Specify multiple times to increase verbosity. .It Fl L -Disable leak tracing and the loading of space maps. +Disable leak detection and the loading of space maps. By default, .Nm verifies that all non-free blocks are referenced, which can be very expensive. |