From 5ffbbcedb1db209ade00b453f8bfbebaacb5a9cf Mon Sep 17 00:00:00 2001 From: David Sterba Date: Sat, 26 Jun 2021 22:35:55 +0200 Subject: [PATCH] btrfs-progs: docs: document zone device stats Signed-off-by: David Sterba --- Documentation/btrfs-filesystem.asciidoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/btrfs-filesystem.asciidoc b/Documentation/btrfs-filesystem.asciidoc index 32616b4a..aafb707a 100644 --- a/Documentation/btrfs-filesystem.asciidoc +++ b/Documentation/btrfs-filesystem.asciidoc @@ -316,6 +316,21 @@ one profile (single, raid1, ...), see `btrfs`(5) section 'FILESYSTEMS WITH MULTIPLE BLOCK GROUP PROFILES'. -- + +And on a zoned filesystem there are two more lines in the 'Device' section: ++ +------------------------- + Device zone unusable: 5.13GiB + Device zone size: 256.00MiB +------------------------- ++ +-- +* 'Device zone unusable' -- sum of of space that's been used in the past +but now is not due to COW and not referenced anymory, the chunks have to +be reclaimed and zones reset to make it usable again +* 'Device zone size' -- the reported zone size of the host-managed device, same +for all devices +-- ++ The root user will also see stats broken down by block group types: + -------------------------