[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] [PATCH] dm snapshot: add allocated metadata to snapshot status



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]