]> www.infradead.org Git - users/hch/xfsprogs.git/commit
mkfs: optimize zone reset for the entire device xfs-zoned-2025-02-06
authorChristoph Hellwig <hch@lst.de>
Fri, 31 Jan 2025 04:21:15 +0000 (05:21 +0100)
committerChristoph Hellwig <hch@lst.de>
Fri, 31 Jan 2025 04:40:04 +0000 (05:40 +0100)
commita7d11f05aca9a108f28e95521e081320159391ca
tree2f7a7687a89182700a43c09c803c0397c86a8072
parenta51d9a0bf7691b9cc6d43c45b0d4db0517080f83
mkfs: optimize zone reset for the entire device

Include the conventional zones for the data device in the range to reset.
This allows the kernel to do a reset all when mkfs is used on the entire
device, which is a lot of faster than doing it zone by zone.

Signed-off-by: Christoph Hellwig <hch@lst.de>
mkfs/xfs_mkfs.c