Re: [PATCH 13/43] xfs: support XFS_BMAPI_REMAP in xfs_bmap_del_extent_delayOM

Christoph Hellwig
2024-12-13T05:14:28Z

On Thu, Dec 12, 2024 at 01:47:20PM -0800, Darrick J. Wong wrote:
> On Wed, Dec 11, 2024 at 09:54:38AM +0100, Christoph Hellwig wrote:
> > The zone allocator wants to be able to remove a delalloc mapping in the
> > COW fork while keeping the block reservation. To support that pass the
> > blags argument down to xfs_bmap_del_extent_delay and support the
>
> bflags
>
> > XFS_BMAPI_REMAP flag to keep the reservation.
>
> Is REMAP the only bmapi flag that will be valid here?

Yes. I'll add an assert.