[Patch 4/13] Allow regular files to be preallocated on-disk.

2007-07-24 Thread Girish Shilamkar
Allow regular files to be preallocated on-disk up to the next multiple of the system PAGE_SIZE without complaining about extra blocks. Signed-off-by: Andreas Dilger <[EMAIL PROTECTED]> Signed-off-by: Girish Shilamkar <[EMAIL PROTECTED]> Signed-off-by: Kalpak Shah <[EMAIL PROTECTED]> Index: e2fspr

Re: [Patch 4/13] Allow regular files to be preallocated on-disk.

2007-08-03 Thread Theodore Tso
On Tue, Jul 24, 2007 at 04:34:48PM +0530, Girish Shilamkar wrote: > Allow regular files to be preallocated on-disk up to the next multiple > of the system PAGE_SIZE without complaining about extra blocks. Applied, with some fixups. > } else { > + e2_blkcnt_t blkpg = getpagesize(

Re: [Patch 4/13] Allow regular files to be preallocated on-disk.

2007-08-04 Thread Andreas Dilger
On Aug 03, 2007 20:40 -0400, Theodore Tso wrote: > I'm also a little concerned this patch doesn't solve the problem where > a filesystem that had been previously mounted on an IA64 machine gets > connected to an x86 machine and then e2fsck is run. This patch > doesn't make the problem any more wo

Re: [Patch 4/13] Allow regular files to be preallocated on-disk.

2007-08-04 Thread Theodore Tso
On Sat, Aug 04, 2007 at 10:19:43AM -0600, Andreas Dilger wrote: > On Aug 03, 2007 20:40 -0400, Theodore Tso wrote: > > I'm also a little concerned this patch doesn't solve the problem where > > a filesystem that had been previously mounted on an IA64 machine gets > > connected to an x86 machine an