diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-01-14 07:53:27 +0100 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-01-21 12:57:17 +0100 |
| commit | 19c5b6051ed62d8c4b1cf92e463c1bcf629107f4 (patch) | |
| tree | 96ffa0705db777773431dc9695cc07ea4639aa22 /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 776b76f7547fb839954aae06f58ac7b6b35c0b25 (diff) | |
xfs: split and refactor zone validation
Currently xfs_zone_validate mixes validating the software zone state in
the XFS realtime group with validating the hardware state reported in
struct blk_zone and deriving the write pointer from that.
Move all code that works on the realtime group to xfs_init_zone, and only
keep the hardware state validation in xfs_zone_validate. This makes the
code more clear, and allows for better reuse in userspace.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
