xfs: support xrep_require_rtext_inuse on zoned file systems
authorChristoph Hellwig <hch@lst.de>
Mon, 22 Jul 2024 13:31:28 +0000 (06:31 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Mar 2025 15:17:08 +0000 (08:17 -0700)
commit14d355dceca26a28b6c95759fc9a3645f5ec2f8d
tree0c25649c66e7fe4f1c80b4adfa99e0f74832ae40
parent48b9ac68199560cce3e0f53dd476b00d4a854222
xfs: support xrep_require_rtext_inuse on zoned file systems

Space usage is tracked by the rmap, which already is separately
cross-referenced.  But on top of that we have the write pointer and can
do a basic sanity check here that the block is not beyond the write
pointer.

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