lkml.org 
[lkml]   [2005]   [Feb]   [22]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 22 Feb 2005 08:13:44 +0100
FromJens Axboe <>
SubjectRe: [PATCH] scsi/sata write barrier support
On Mon, Feb 21 2005, Greg Stark wrote:
> 
> Jens Axboe <axboe@suse.de> writes:
> 
> > For the longest time, only the old PATA drivers supported barrier writes
> > with journalled file systems. 
> 
> What about for fsync(2)? One of the most frequent sources of data loss on the
> postgres mailing list has to do with users with IDE drives where fsync returns
> even though the data hasn't actually reached the disk. A power outage can
> cause lost data or a corrupted database.
> 
> Is there any progress getting fsync to use this new infrastructure so it can
> actually satisfy its contract?

fsync has been working all along, since the initial barrier support for
ide. only ext3 and reiserfs support it.

-- 
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:10    [from the cache]
©2003-2008