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