Skip to contentSkip to conversation

Fix #733320: fix rounding inconsistency between lvresize/lvreduce

PATCH New Petr Rockai 2 participants 2 messages Sep 15, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix #733320: fix rounding inconsistency between lvresize/lvreduce

Hi,

we wan to round in the safe direction, regardless of whether we were called as lvresize or lvreduce. The attached patch implements that (and adds a regression test).

Yours,
Petr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvresize-rounding.diff
Type: text/x-diff
Size: 1826 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20110915/6fdb8180/attachment.bin>
-------------- next part --------------

Signature · 1 line
id' Ash = Ash; id' Dust = Dust; id' _ = undefined
#1 lore raw

PATCH 1/1 Fix #733320: fix rounding inconsistency between lvresize/lvreduce

Quoted 3 lines · Petr Rockai

we wan to round in the safe direction, regardless of whether we were called as lvresize or lvreduce. The attached patch implements that (and adds a regression test).

yes, that seems much more better.
ACK.

Milan