[PATCH 14/71] xfs: add refcount btree operations

Christoph Hellwig hch at infradead.org
Tue Sep 6 10:09:02 CDT 2016


On Thu, Aug 25, 2016 at 04:33:28PM -0700, Darrick J. Wong wrote:
> Implement the generic btree operations required to manipulate refcount
> btree blocks.  The implementation is similar to the bmapbt, though it
> will only allocate and free blocks from the AG.
> 
> v2: Remove init_rec_from_key since we no longer need it, and add
> tracepoints when refcount btree operations fail.
> 
> Since the refcount root and level fields are separate from the
> existing roots and levels array, they need a separate logging flag.
> 
> Signed-off-by: Darrick J. Wong <darrick.wong at oracle.com>
> [hch: fix logging of AGF refcount btree fields]
> Signed-off-by: Christoph Hellwig <hch at lst.de>

No need to mention this little fixlet from ages ago.

More importantly: why is this a separate patch from the remaining
"meat" in xfs_refcount_btree.c



More information about the xfs mailing list