lkml.org 
[lkml]   [2001]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: lvm in 2.5.1
From
On Thu, Dec 27, 2001 at 11:25:39AM -0800, Andrew Morton wrote:
> 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?

gcc version 2.95.4 20011223 (Debian prerelease)

i didn't check the exact amount. i dont know where the 420 bytes comes from?
but (as Mike Galbraith pointed out) a lv_t contains:

sector_t blocks[LVM_MAX_SECTORS];

with:

#define LVM_MAX_ATOMIC_IO 512
#define LVM_MAX_SECTORS (LVM_MAX_ATOMIC_IO * 2)

and
typedef unsigned long sector_t;

unsigned long beeing 4bytes => the blocks-member of lv_t should then be 4096
by it self...

--

//anders/g

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:14    [W:0.110 / U:1.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site