xfs: add a max_open_zones mount option
authorChristoph Hellwig <hch@lst.de>
Sun, 17 Nov 2024 07:05:16 +0000 (08:05 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Mar 2025 15:17:09 +0000 (08:17 -0700)
commit7452a6daf9f9c343d483cff60a0016379c1edb6c
treef49b9334835f05c7f39d08de12d86dfdbfa7e858
parent97c69ba1c08d5a2bb3cacecae685b63e20e4d485
xfs: add a max_open_zones mount option

Allow limiting the number of open zones used below that exported by the
device.  This is required to tune the number of write streams when zoned
RT devices are used on conventional devices, and can be useful on zoned
devices that support a very large number of open zones.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
fs/xfs/xfs_super.c