Re: [PATCH 1/6] xfs: fix xfs_rtrmapbt_mem_cursor for non-rmap filesystems

"Darrick J. Wong" <[email protected]>
Newsgroups org.kernel.vger.linux-xfs,org.kernel.vger.stable
Message-ID <20260820160306.GG6072@frogsfrogsfrogs>
On Wed, Aug 19, 2026 at 10:39:15PM -0700, Christoph Hellwig wrote:
> On Wed, Aug 19, 2026 at 04:30:25PM -0700, Darrick J. Wong wrote:
> > On second thought ... the slab cache that we use to create rtrmapbt
> > cursors always makes them big enough for xfs_rtrmap_maxlevels_ondisk()
> > levels, so we always consume that much memory no matter what we set
> > bc_nlevels to in xfs_rtrmapbt_mem_cursor().
> 
> Make sense.  Maybe add that to the commit message?

Will do.

> With that:
> 
> Reviewed-by: Christoph Hellwig <[email protected]>
> 
> for the original patch.

Thanks for reviewing!

--D
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.