[lvm-devel] [PATCH LVM2] (10/12) calculate free pe counts before allocation attempt

Jun'ichi Nomura j-nomura at ce.jp.nec.com
Fri Oct 13 21:14:32 UTC 2006


This patch adds calculation of free pe counts and checks it
before doing any allocation attempt.


$ diffstat -p1 10.calcfree.patch
 lib/metadata/lv_manip.c |   30 ++++++++++++++++++++++++++----
 1 file changed, 26 insertions(+), 4 deletions(-)


Thanks,
-- 
Jun'ichi Nomura, NEC Corporation of America


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10.calcfree.patch
Type: text/x-patch
Size: 1890 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20061013/be275032/attachment.bin>


More information about the lvm-devel mailing list