Re: [PATCH 6/6] xfs: don't zap bmbt forks if they are MAXLEVELS tall

Christoph Hellwig <[email protected]>
Newsgroups org.kernel.vger.linux-xfs,org.kernel.vger.stable
Message-ID <[email protected]>
On Mon, Jul 13, 2026 at 11:07:30PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <[email protected]>
> 
> LOLLM noticed a discrepancy between the bmbt level checks in the libxfs
> bmbt code vs. the inode repair code.  We do actually allow a bmbt root
> that proclaims to have a height of XFS_BM_MAXLEVELS.

Looks good:

Reviewed-by: Christoph Hellwig <[email protected]>

I guess we need a test that actually creates such a deep tree.  But
we'll probably run out space / extents before..
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.