Skip to content

Commit

Permalink
zpoolprops.7: document leaked
Browse files Browse the repository at this point in the history
It's noted very scarcely in the code as it stands, indeed the only
actual comment on this is

  /*
   * We have finished background destroying, but there is still
   * some space left in the dp_free_dir. Transfer this leaked
   * space to the dp_leak_dir.
   */

Introduced in fbeddd6 ("Illumos 4390 -
I/O errors can corrupt space map when deleting fs/vol"),
which explains, alongside the references, that this can only happen
with a corrupted pool

Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes openzfs#13081
  • Loading branch information
nabijaczleweli authored and tonyhutter committed Feb 15, 2022
1 parent e554948 commit 9714914
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions man/man7/zpoolprops.7
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ Over time
will decrease while
.Sy free
increases.
.It Sy leaked
Space not released while
.Sy freeing
due to corruption, now permanently leaked into the pool.
.It Sy health
The current health of the pool.
Health can be one of
Expand Down

0 comments on commit 9714914

Please sign in to comment.