faulty.c does not accurately simulate failures...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux