xfs
[Top] [All Lists]

Re: [PATCH 03/71] xfs: count the blocks in a btree

To: "Darrick J. Wong" <darrick.wong@xxxxxxxxxx>
Subject: Re: [PATCH 03/71] xfs: count the blocks in a btree
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Mon, 5 Sep 2016 08:05:37 -0700
Cc: david@xxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <147216793514.867.6884435099045085232.stgit@xxxxxxxxxxxxxxxx>
References: <147216791538.867.12413509832420924168.stgit@xxxxxxxxxxxxxxxx> <147216793514.867.6884435099045085232.stgit@xxxxxxxxxxxxxxxx>
User-agent: Mutt/1.6.1 (2016-04-27)
On Thu, Aug 25, 2016 at 04:32:15PM -0700, Darrick J. Wong wrote:
> Provide a helper method to count the number of blocks in a short form
> btree.  The refcount and rmap btrees need to know the number of blocks
> already in use to set up their per-AG block reservations during mount.
> 
> v2: Use btree_visit_blocks instead of open-coding our own traversal
> routine.

Same comments as with the last patch.

Otherwise looks fine:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH 03/71] xfs: count the blocks in a btree, Christoph Hellwig <=