[dm-devel] [PATCH] dm snapshot: add allocated metadata to snapshot status
Alasdair G Kergon
agk at redhat.com
Fri Oct 9 12:04:00 UTC 2009
On Fri, Oct 09, 2009 at 12:45:09PM +0100, Alasdair G Kergon wrote:
> I'm thinking a formula more like:
> ((current_area - 2) / (exceptions_per_area + 1) + 3
> for the number of metadata chunks.
But no - current_area already takes account of the factor (exceptions_per_area
+ 1).
So just current_area + 3?
(The first is 0, plus 2 for the header.)
Alasdair
More information about the dm-devel
mailing list