[lkml]   [2001]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] 64 bit scsi read/write
On Sun, Jul 15, 2001 at 11:47:10AM -0600, Justin T. Gibbs wrote:

Simply disabling the write cache does not guarantee the order of
writes. For one, with tagged I/O and the use of the SIMPLE_Q tag
qualifier, commands may be completed in any order. If you want
some semblance of order, either disable the write cache or use the
FUA bit in all writes, and use the ORDERED tag qualifier. Even
when using these options, it is not clear that the drive cannot
reorder writes "slightly" to make track writes more efficient
(e.g. two separate commands to write sequential sectors on the
same track may be written in reverse order).

ORDERED sounds like the trick... I assume this is some kind of
write-barrier? If so, then I assume it has some kind of strict
temporal ordering, even between command issues to the drive.

If so, that would be idea if we can have the fs communicate this all
the way down to the device layer, making it work for soft-raid and LVM
be a little harder perhaps.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:57    [W:0.112 / U:0.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site