[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090906014316.GE2287@mit.edu>
Date: Sat, 5 Sep 2009 21:43:16 -0400
From: Theodore Tso <tytso@....edu>
To: Eric Sandeen <sandeen@...hat.com>
Cc: Christoph Hellwig <hch@....de>, linux-ext4@...r.kernel.org
Subject: Re: [PATCH] ext4: fix cache flish in ext4_sync_file
On Tue, Sep 01, 2009 at 01:23:27PM -0500, Eric Sandeen wrote:
> Christoph Hellwig wrote:
> > We need to flush the write cache unconditionally in ->fsync, otherwise
> > writes into already allocated blocks can get lost. Writes into fully
> > allocated files are very common when using disk images for
> > virtualization, and without this fix can easily lose data after
> > an fdatasync, which is the typical implementation for a cache flush on
> > the virtual drive.
> >
> >
> > Signed-off-by: Christoph Hellwig <hch@....de>
>
> Fixing my old commit, I guess ;)
Added to the ext4 patch queue (with the "flish" corrected to "flush")
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists