[PATCH] BUG on fsync/fdatasync with Ext3 data=journal

Seiji Kihara kihara.seiji at lab.ntt.co.jp
Fri Sep 17 01:27:25 UTC 2004


Hi, 

Thank you for reply, Mr. Morton.  I apologize to everyone that the
mail I sent last night was not delivered to lists because of its
size (maybe).

At Thu, 16 Sep 2004 14:50:59 -0700,
Andrew Morton wrote:
(snip)
> Yes, the I_DIRTY test is bogus because data pages are not marked dirty at
> write() time when the filesystem is mounted in data=journal mode.
> 
> However your patch will disable the above optimisation for data=writeback
> and data-ordered modes as well.  I don't think that's necessary?
> 
> How about this?

I have not understood what is the real problem yet, but I agree
that your patch is better than mine, and confirmed that no problem
occured during the test by the "diskio" and the kernel 2.6.8.1
with your patch.

Thank you again.

Seiji

-- 
Seiji Kihara
Open Source Software Computing Project,
NTT Cyber Space Laboratories, Yokosuka, JAPAN





More information about the Ext3-users mailing list