faulty.c does not accurately simulate failures...

From
Roger Gammans <hidden>
Date
2006-10-28 14:17:09
Hi

As the subject says there are differences in the behaviour of simulated 
failures by faulty, and of a real drive with bad sectors.

There are two ways this manifests itself:-
	
	1)  Bad sectors on reall devices often tend to occur a groups,
	    this is faulty.c is unlikely to generate runs of sectors.

	2)  (I haven't verified this against a real drive yet )
	    In the read case:-
	    faulty.c calls (bio->endio)() with all data data having
	    been transferred correctly eg, with bi_size=0. Whereas
	    in the errored data is unlikely to have been transfered
	    in the case of real failled hardware.

Are patches to change these behaviours welcome?  Or is the current
behaviour intention for a reason I haven't grokked.

TTFN
-- 
Roger.                          Home| http://www.sandman.uklinux.net/
Master of Peng Shui.      (Ancient oriental art of Penguin Arranging)
Work|Independent Sys Consultant | http://www.computer-surgery.co.uk/
So what are the eigenvalues and eigenvectors of 'The Matrix'? --anon
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help