Re: lvm in 2.5.1

Andrew Morton
2001-12-27T19:28:43Z

andersg@0x63.nu wrote:
>
> not much... lets have a look at lvm_do_vg_create then:
>
> with my patch:
> 0x1830 <lvm_do_vg_create>: sub $0x20,%esp
>
> without my patch:
> 0x1830 <lvm_do_vg_create>: sub $0x11c4,%esp
>
> whoa! 0x11c4
>
> thats a LOT! much more than sizeof(lv_t)
>

With egcs-1.1.2:

0xc02546c7 <lvm_do_vg_create+3>: sub $0x1d4,%esp

So perhaps we have a compiler problem. Which version of the
compiler are you using? Have you verified that sizeof(lv_t)
is really around 420 bytes in your setup?

-