summaryrefslogtreecommitdiffstats
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2009-01-08 00:45:47 +0000
committerimp <imp@FreeBSD.org>2009-01-08 00:45:47 +0000
commitaf98809235f360c69043040e8e24f7b21ceb39ee (patch)
tree902122452edd5d6a5fd51812c7f514ff42b9545e /sys/dev/fxp
parentcad660ade235e8e8c3c90d908248eb4de659c728 (diff)
downloadFreeBSD-src-af98809235f360c69043040e8e24f7b21ceb39ee.zip
FreeBSD-src-af98809235f360c69043040e8e24f7b21ceb39ee.tar.gz
Make it possible to override the number of retries for the CD media.
When trying to read scratched or damaged CDs and DVDs, the default mechanism is sub-optimal. Programs like ddrescue do much better if you turn off retries entirely, since their algorithms are designed scan big areas fast, then winnow the areas down. Turning off retries speeds these programs up by as much as 20x, since the drive is able to 'stream past' many small errors... The sysctl/tunable kern.cam.cd.retry_count controls this. That defaults to '4' (for a total of 5 attempts). Setting to 0 turns off all retry attempts. Reviewed by: scottl@
Diffstat (limited to 'sys/dev/fxp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud