Re: [PATCH] xfs: fix fsmap for internal zoned devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 14 Apr 2025 17:33:45 -0700, Darrick J. Wong wrote:
> Filesystems with an internal zoned rt section use xfs_rtblock_t values
> that are relative to the start of the data device.  When fsmap reports
> on internal rt sections, it reports the space used by the data section
> as "OWN_FS".
> 
> Unfortunately, the logic for resuming a query isn't quite right, so
> xfs/273 fails because it stress-tests GETFSMAP with a single-record
> buffer.  If we enter the "report fake space as OWN_FS" block with a
> nonzero key[0].fmr_length, we should add that to key[0].fmr_physical
> and recheck if we still need to emit the fake record.  We should /not/
> just return 0 from the whole function because that prevents all rmap
> record iteration.
> 
> [...]

Applied to for-next, thanks!

[1/1] xfs: fix fsmap for internal zoned devices
      commit: c6f1401b1d5fb3b83bd16ba8a0f89a8b1c805993

Best regards,
-- 
Carlos Maiolino <cem@xxxxxxxxxx>





[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux