Skip to contentSkip to conversation

scsi write barriers (ordered tags)?

DISCUSSION James Bottomley 1 participant 1 message Feb 5, 2003 1 message not in the archive SCSI

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 1 line · On Wed, 2003-02-05 at 11:58, [email protected] wrote:

I understand that SCSI drives and controllers are much more

complicated than their IDE counterparts and that to implement ordered tags in SCSI is more complicated. However, doesn't FreeBSD's CAM layer have some kind of implementation of this which makes it safe to use soft-updates and write back cache together?

Actually, no. The problem that caches cause is that they cache data, not transactions. You can force the caches to respect transaction order by flushing them, but that gets expensive.

I thought that I read that sometime ago but I have been trying to find references to it on google this morning and couldn't find any. I guess what I am really after is to fold: 1) Will Linux's SCSI layer get modified at _any_ point to support something like this to benefit ext3/reiserfs/xfs/jfs? 2) If this will be attempted at some point will it be later in 2.5/2.6 or will this definitely be 2.7/2.8 material? Thanks for the info and the response.

Like I said, the infrastructure exists. There's no compelling reason to enable it (mainly because most of the benchmarks say it causes a slowdown).

James