Re: [PATCH] ext4: Fix data corruption when writing to prealloc area

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



在 2008-07-18五的 10:22 -0700,Mingming Cao写道:
> 在 2008-07-18五的 10:02 -0700,Mingming Cao写道:
> > I tried this patch, with nodelalloc, the kernel did not crash! Previous
> > it crashes in a few minutes.
> > 
> >  but the test did not stop after fill the file by specified 2G size
> > 
> > 
> > I noticed the write() to write to the last fallocate extent(up to 2G)
> > returns junk value.
> > 
> > 
> > The testcase I got from Shehjart (who originally reported the problem)
> > is  
> > 
> > http://www.gelato.unsw.edu.au/~shehjart/writefallocate.c
> > 
> 
> I forget to mention that I modify the test slight to call fallocate()
> with default mode (expnd size) instead of keep size.
> 

Oh, it's the file size problem for the 2 GB barrier, the latest test
source git tree  has fixed this,.  With the patch ext4 runs fine with
both KEEP_SIZE mode and ALLOCATE mode.

Mingming

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux