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

[PATCH] Use the size calculation function from the VolumeGroupRequestSpec.



Hi list:

In RHEL 5 we are calculating the vg avalable size with some logic different from the one placed in Volume Group class.  The previous way of calculating the vg available size was based on the pv size, which was based on the partition size.  At the end, the Volume Group size was calculates with the partition values.
The VolumeGroupRequestSpec getActualSize function takes into account the metadata needed for the pv and vgs and give a much saner value.

Review appreciated.

Regards.


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