xfs: add refcount btree operations
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. 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: NDarrick J. Wong <darrick.wong@oracle.com> [hch: fix logging of AGF refcount btree fields] Signed-off-by: NChristoph Hellwig <hch@lst.de>
Showing
fs/xfs/libxfs/xfs_refcount.c
0 → 100644
fs/xfs/libxfs/xfs_refcount.h
0 → 100644
想要评论请 注册 或 登录