Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file contentcorruption on ext3)
From: Andrew Morton
Date: Sun Dec 24 2006 - 07:31:33 EST
On Sun, 24 Dec 2006 14:14:38 +0200
Andrei Popa <andrei.popa@xxxxxxxx> wrote:
> > - mount the fs with ext2 with the no-buffer-head option. That means either:
> >
> > grub.conf: rootfstype=ext2 rootflags=nobh
> > /etc/fstab: ext2 nobh
>
> ierdnac ~ # mount
> /dev/sda7 on / type ext2 (rw,noatime,nobh)
>
> I have corruption.
>
> >
> > - mount the fs with ext3 data=writeback, nobh
> >
> > grub.conf: rootfstype=ext3 rootflags=nobh,data=writeback (I hope this works)
> > /etc/fstab: ext2 data=writeback,nobh
>
> ierdnac ~ # mount
> /dev/sda7 on / type ext3 (rw,noatime,nobh)
>
> ierdnac ~ # dmesg|grep EXT3
> EXT3-fs: mounted filesystem with writeback data mode.
> EXT3 FS on sda7, internal journal
>
> I don't have corruption. I tested twice.
This is a surprising result. Can you pleas retest ext3 data=writeback,nobh?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/