Re: [BUG REPORT] General protection fault while discarding extents on XFS on next-20240305

Christoph Hellwig
2024-03-06T14:45:45Z

On Wed, Mar 06, 2024 at 07:40:02AM -0700, Keith Busch wrote:
> Oh my mistake: xfs_discard_extents() does this in a loop and chains
> along the previous iteration's bio. Your update is needed and looks
> good.

Yeah, the whole point for the in/out biop parameter is to allow
this kind of chaining.