freebsd-dev/sys/cam/scsi
Warner Losh 8550170477 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@
2009-01-08 00:45:47 +00:00
..
scsi_all.c SCSI_DELAY is specified in milliseconds, not seconds. 2008-08-16 21:26:58 +00:00
scsi_all.h Update SCSI opcodes and ASCs from t10.org. 2008-08-07 17:25:05 +00:00
scsi_cd.c Make it possible to override the number of retries for the CD media. 2009-01-08 00:45:47 +00:00
scsi_cd.h
scsi_ch.c Add a helper function for registering async callbacks. Besides 2007-05-16 16:54:23 +00:00
scsi_ch.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_da.c Add quirk for the Storcase InfoStation 12bay 2008-12-23 09:11:05 +00:00
scsi_da.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_dvcfg.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_iu.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_low_pisa.c Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_low_pisa.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_low.c Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
scsi_low.h Add a new 'why' argument to kdb_enter(), and a set of constants to use 2007-12-25 17:52:02 +00:00
scsi_message.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_pass.c Fix refcount locking in cd, pass, and sg periphs. 2008-12-21 06:20:11 +00:00
scsi_pass.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_pt.c Add a helper function for registering async callbacks. Besides 2007-05-16 16:54:23 +00:00
scsi_pt.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_sa.c Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
scsi_sa.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_ses.c Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
scsi_ses.h Fix ioctl to not get swallowed by ioctl code (i.e., make sure the darned 2006-01-18 08:37:27 +00:00
scsi_sg.c Fix refcount locking in cd, pass, and sg periphs. 2008-12-21 06:20:11 +00:00
scsi_sg.h A fix for the SG_GET_TIMEOUT function slipped into a previous commit by 2007-04-10 20:03:42 +00:00
scsi_targ_bh.c Add a helper function for registering async callbacks. Besides 2007-05-16 16:54:23 +00:00
scsi_target.c Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
scsi_targetio.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00