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)
Yeah, I was thinking of doing this with caches turned off, since I
know how to do that, but not a write-barrier.
  --cs
-
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/