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

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

 



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

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux