Re: [PATCH] 64 bit scsi read/write

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 15 Jul 2001 16:32:59 +0100 (BST)


> I only have SCSI disks to test with, but they are hot-plug, so I guess
> I can write a whole bunch of blocks with different numbers on them,
> all over the disk, if I can figure out how to place SCSI barriers and
> then pull the drive and see what gives?

Another way is to time

write block
write barrier
write same block
write barrier
repeat

If the write barrier is working you should be able to measure the drive rpm 8)

-
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/