[Ocfs2-devel] [PATCH] ocfs2: avoid direct write if we fall back to buffered

Li Dongyang lidongyang at novell.com
Sat Apr 10 02:48:52 PDT 2010


On Saturday 10 April 2010 17:37:18 Joel Becker wrote:
> On Sat, Apr 10, 2010 at 01:37:58AM -0600, Dong Yang Li wrote:
> > I still get a bug with this check and without my patch:
> >
> >
> > [16179.955148] (13400,1):ocfs2_truncate_file:465 ERROR: bug expression:
> > le64_to_cpu(fe->i_size) != i_size_read(inode) [16179.955157]
> > (13400,1):ocfs2_truncate_file:465 ERROR: Inode 254789, inode i_size =
> > 811008 != di i_size = 809011, i_flags = 0x1 the call trace is the same.
> 
> 	What's the testcase?
> 
> Joel
> 
Just fire up "fsstress -d <ocfs2 mount point> -l 1000 -p 1000 -n 1000", 
fsstress is a tool from ltp package.
JJ first found it on a 3-nodes cluster with user stack, I also can reproduce 
it on a 2-nodes cluster with o2cb.

Li Dongyang



More information about the Ocfs2-devel mailing list