]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: untangle the open zones reporting in mountinfo
authorChristoph Hellwig <hch@lst.de>
Tue, 31 Mar 2026 15:27:31 +0000 (17:27 +0200)
committerCarlos Maiolino <cem@kernel.org>
Tue, 7 Apr 2026 11:28:47 +0000 (13:28 +0200)
commit9de45faed34d11f1821c386ea306d9788e9a6448
tree6ddc9cd4540707e0d75cdc56dac74fcb0bd24765
parent62c89988dc198efc17be0119a43ad21cf32334d6
xfs: untangle the open zones reporting in mountinfo

Keeping a value per line makes parsing much easier, so move the maximum
number of open zones into a separate line, and also add a new line for
the number of open open GC zones.  While that has to be either 0 or 1
currently having a value future-proofs the interface for adding more open
GC zones if needed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hans Holmberg <hans.holmberg@wdc.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_zone_info.c