lkml.org 
[lkml]   [2004]   [Mar]   [31]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 31 Mar 2004 16:27:32 -0500
FromJeff Garzik <>
SubjectRe: [PATCH] barrier patch set
Stephen C. Tweedie wrote:
> Hi,
> 
> On Tue, 2004-03-30 at 23:21, Jeff Garzik wrote:
> 
> 
>>For IDE, O_DIRECT and O_SYNC can use special "FUA" commands, which don't 
>>return until the data is on the platter.
> 
> 
> fsync() is still really nasty, because that can require that we wait on
> IO that was submitted by the VM before we knew that there was a
> synchronous IO wait coming.  SCSI also has an FUA bit that can make a
> difference if you've got writeback caching enabled.  (And FUA on read
> can bypass drive writethrough caches, too, for media verification.)

Agreed, but I did not mention fsync(), since that would not be 
appropriate to FUA like O_DIRECT or O_SYNC might be.

	Jeff




-
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 13:02    [W:0.051 / U:0.000 seconds]
©2003-2008 Jasper Spaans