diff options
author | Brian Behlendorf <[email protected]> | 2023-05-18 10:02:20 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2023-05-18 10:02:20 -0700 |
commit | e34e15ed6d1882d29e314321b7642305d99f1b78 (patch) | |
tree | 8600f5bff9f383090a15901f50fb22aacca2282b /include/sys/fs | |
parent | e0d5007bcf7e4425d43ba2ad56489c7db5c4a4c5 (diff) |
Add the ability to uninitialize
zpool initialize functions well for touching every free byte...once.
But if we want to do it again, we're currently out of luck.
So let's add zpool initialize -u to clear it.
Co-authored-by: Rich Ercolani <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Signed-off-by: Rich Ercolani <[email protected]>
Closes #12451
Closes #14873
Diffstat (limited to 'include/sys/fs')
-rw-r--r-- | include/sys/fs/zfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/fs/zfs.h b/include/sys/fs/zfs.h index 0734ff122..4c2097fb8 100644 --- a/include/sys/fs/zfs.h +++ b/include/sys/fs/zfs.h @@ -1265,6 +1265,7 @@ typedef enum pool_initialize_func { POOL_INITIALIZE_START, POOL_INITIALIZE_CANCEL, POOL_INITIALIZE_SUSPEND, + POOL_INITIALIZE_UNINIT, POOL_INITIALIZE_FUNCS } pool_initialize_func_t; |