My reading is that WCE==1 means that the command is complete when the
data is in the drive buffer.
> > I have never heard of
> > any implied requirement to flush to media when a drive receives an
> > ordered tag and WCE is set. It does seem like a useful feature to have
> > in the standard, but I don't think it's there.
>
> It seems to be pretty strongly implied that things should work that way.
> What is the use of being sure the write with the ordered tag is on media
> if you're not sure about the writes that were supposedly supposed to
> precede it? Spelling this out would indeed be helpful.
WCE==1 and ordered tag means that the data for previous commands is in
the drive buffer before the data for the ordered tag is in the drive
buffer.
> > So if one vendor implements those semantics, but the others don't where
> > does that leave us?
>
> It leaves us with a vendor we want to buy our drives from, if we want our
> data to be safe.
The point is, do you write code that depends on one vendor's interpretation?
If so, then the vendor needs to be identified. Perhaps other vendors will
then align themselves.
> Daniel
jeremy
-
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/