[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87mx165nj6.fsf@frigg.knielsen-hq.org>
Date: Tue, 04 Sep 2012 08:07:25 +0200
From: Kristian Nielsen <knielsen@...elsen-hq.org>
To: Jan Kara <jack@...e.cz>
Cc: linux-ext4@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [ext3/4] PROBLEM: fdatasync not syncing appended data (w/test program)
Jan Kara <jack@...e.cz> writes:
> On Mon 03-09-12 10:45:15, Kristian Nielsen wrote:
>> It appears that ext3 and ext4 fdatasync() does not fully sync data to
>> disk. Specifically, when new data is written at the end (so that the file
>> length is increased), not all of the new data is synced by fdatasync().
> The culprit is that we forget to update i_datasync_tid when we change only
> inode size. Thus inode is not forced to disk during fdatasync(). I will send
> fixes for this in a moment.
Cool, thanks for the quick response! Glad that we get this fixed.
- Kristian.
--
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