]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: disable FITRIM for zoned RT devices
authorChristoph Hellwig <hch@lst.de>
Sun, 17 Nov 2024 05:23:16 +0000 (06:23 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Mar 2025 15:16:46 +0000 (08:16 -0700)
commitf044dda35124bca5da6d3ad6885ba2c542bfe68f
tree487426722ba66af70476609157056c5cfbe0a18d
parent1d319ac6fe1bd6364c5fc6e285ac47b117aed117
xfs: disable FITRIM for zoned RT devices

The zoned allocator unconditionally issues zone resets or discards after
emptying an entire zone, so supporting FITRIM for a zoned RT device is
not useful.

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