freebsd-dev/sys/cam/scsi
Steven Hartland 9fe9ba5bef Teach GEOM and CAM about the difference between the max "size" of r/w and delete
requests.

sys/geom/geom_disk.h:
        - Added d_delmaxsize which represents the maximum size of individual
          device delete requests in bytes. This can be used by devices to
          inform geom of their size limitations regarding delete operations
          which are generally different from the read / write limits as data
          is not usually transferred from the host to physical device.

sys/geom/geom_disk.c:
        - Use new d_delmaxsize to calculate the size of chunks passed through to
          the underlying strategy during deletes instead of using read / write
          optimised values. This defaults to d_maxsize if unset (0).

        - Moved d_maxsize default up so it can be used to default d_delmaxsize

sys/cam/ata/ata_da.c:
        - Added d_delmaxsize calculations for TRIM and CFA

sys/cam/scsi/scsi_da.c:
        - Added re-calculation of d_delmaxsize whenever delete_method is set.

        - Added kern.cam.da.X.delete_max sysctl which allows the max size for
          delete requests to be limited. This is useful in preventing timeouts
          on devices who's delete methods are slow. It should be noted that
          this limit is reset then the device delete method is changed and
          that it can only be lowered not increased from the device max.

Reviewed by:	mav
Approved by:	pjd (mentor)
2013-04-26 16:22:54 +00:00
..
scsi_all.c Refactored scsi_xpt use of device_has_vpd to generic scsi_vpd_supported_page 2013-04-26 16:11:03 +00:00
scsi_all.h Refactored scsi_xpt use of device_has_vpd to generic scsi_vpd_supported_page 2013-04-26 16:11:03 +00:00
scsi_cd.c MFprojects/camlock r248890, r248897, r248898, r248900, r248903, r248905, 2013-04-14 09:28:14 +00:00
scsi_cd.h
scsi_ch.c Fix compilation. 2013-04-20 14:33:55 +00:00
scsi_ch.h Update chio(1) and ch(4) to support reporting element designators. 2013-04-19 20:03:51 +00:00
scsi_da.c Teach GEOM and CAM about the difference between the max "size" of r/w and delete 2013-04-26 16:22:54 +00:00
scsi_da.h Change 'camcontrol defects' to first probe a drive to find out how much 2012-06-22 18:57:06 +00:00
scsi_dvcfg.h
scsi_enc_internal.h Fix a device departure bug for the the pass(4), enc(4), sg(4) and ch(4) 2012-12-08 04:03:04 +00:00
scsi_enc_safte.c 1. Remove SEN support. I doubt there are any working examples 2012-08-12 17:01:07 +00:00
scsi_enc_ses.c Sanitize the element descriptor string before using it as a device name. 2013-01-24 17:28:39 +00:00
scsi_enc.c Fix a device departure bug for the the pass(4), enc(4), sg(4) and ch(4) 2012-12-08 04:03:04 +00:00
scsi_enc.h MFprojects/zfsd: 2012-05-24 14:07:44 +00:00
scsi_iu.h
scsi_low.c Remove some more NetBSD compat shims and other unused bits from these 2012-09-10 18:49:49 +00:00
scsi_low.h Remove some more NetBSD compat shims and other unused bits from these 2012-09-10 18:49:49 +00:00
scsi_message.h
scsi_pass.c - Correct mispellings of the word occurrence 2013-04-17 11:40:10 +00:00
scsi_pass.h
scsi_pt.c Remove two more 'periph == NULL' checks missed in r241404. 2012-10-23 16:03:00 +00:00
scsi_pt.h
scsi_sa.c Remove 'periph == NULL' check from bunch of periph drivers. 2012-10-10 18:10:11 +00:00
scsi_sa.h
scsi_ses.h Fix off by one error in ses_enc_desc_last_byte(). 2012-07-24 13:32:49 +00:00
scsi_sg.c Fix a device departure bug for the the pass(4), enc(4), sg(4) and ch(4) 2012-12-08 04:03:04 +00:00
scsi_sg.h
scsi_targ_bh.c Add the CAM Target Layer (CTL). 2012-01-12 00:34:33 +00:00
scsi_target.c - Correct mispellings of the word occurrence 2013-04-17 11:40:10 +00:00
scsi_targetio.h
scsi_xpt.c Refactored scsi_xpt use of device_has_vpd to generic scsi_vpd_supported_page 2013-04-26 16:11:03 +00:00
smp_all.c Add Serial Management Protocol (SMP) passthrough support to CAM. 2010-11-30 22:39:46 +00:00
smp_all.h Add Serial Management Protocol (SMP) passthrough support to CAM. 2010-11-30 22:39:46 +00:00