Re: [Ext2-devel] ext2 inode size (on-disk)

2001-04-19 Thread Theodore Tso
On Thu, Apr 19, 2001 at 11:35:40PM -0600, Andreas Dilger wrote: > I don't _think_ that there is a requirement for a multiple-of-8 inodes > per group. OK, looking into mke2fs (actually lib/ext2fs/initialize.c) > it _does_ show that it needs to be a multiple of 8, but I'm not sure > exactly what th

Re: [Ext2-devel] ext2 inode size (on-disk)

2001-04-19 Thread Theodore Tso
On Thu, Apr 19, 2001 at 10:23:39PM -0400, Alexander Viro wrote: > > I'm somewhat concerned about the following: last block of inode table > fragment may have less inodes than the rest. Reason: number of inodes > per group should be a multiple of 8 and with inodes bigger than 128 > bytes it may gi

Re: [Ext2-devel] ext2 inode size (on-disk)

2001-04-19 Thread Theodore Tso
On Thu, Apr 19, 2001 at 04:29:52PM -0400, Jeff Garzik wrote: > [EMAIL PROTECTED] wrote: > > In the long run, it probably makes sense to adjust the algorithms to > > allow for non-power-of-two inode sizes, > > If you don't mind, does that imply packing inodes across block > boundaries? No, it mea

Re: [Ext2-devel] ext2 inode size (on-disk)

2001-04-19 Thread Andreas Dilger
Al writes: > I don't think that it's needed - old kernels (up to -CURRENT ;-) will > simply refuse to mount if ->s_inode_size != 128. Old utilites may be > trickier, though... Probably would need an incompat flag for changing the inode size anyways, so old utilities wouldn't set that anyways. >

Re: [Ext2-devel] ext2 inode size (on-disk)

2001-04-19 Thread Alexander Viro
On Thu, 19 Apr 2001 [EMAIL PROTECTED] wrote: > This was a project that was never completed. I thought at one point > of allowing the inode size to be not a power of 2, but if you do that, > you really want to avoid letting an inode cross a block boundary --- > for reliability and performance r

Re: [Ext2-devel] ext2 inode size (on-disk)

2001-04-19 Thread Jeff Garzik
[EMAIL PROTECTED] wrote: > In the long run, it probably makes sense to adjust the algorithms to > allow for non-power-of-two inode sizes, If you don't mind, does that imply packing inodes across block boundaries? Regards, Jeff -- Jeff Garzik | "The universe is like a safe to wh

Re: [Ext2-devel] ext2 inode size (on-disk)

2001-04-19 Thread tytso
On Thu, Apr 19, 2001 at 07:55:20AM -0400, Alexander Viro wrote: > Erm... Folks, can ->s_inode_size be not a power of 2? Both > libext2fs and kernel break in that case. This was a project that was never completed. I thought at one point of allowing the inode size to be not a power of 2, bu