Kenneth D. Merry
e6bd5983ca
Add CAM infrastructure to allow reporting when a drive's long read capacity
...
data changes.
cam_ccb.h: Add a new advanced information type, CDAI_TYPE_RCAPLONG,
for long read capacity data.
cam_xpt_internal.h:
Add a read capacity data pointer and length to struct cam_ed.
cam_xpt.c: Free the read capacity buffer when a device goes away.
While we're here, make sure we don't leak memory for other
malloced fields in struct cam_ed.
scsi_all.c: Update the scsi_read_capacity_16() to take a uint8_t * and
a length instead of just a pointer to the parameter data
structure. This will hopefully make this function somewhat
immune to future changes in the parameter data.
scsi_all.h: Add some extra bit definitions to struct
scsi_read_capacity_data_long, and bump up the structure
size to the full size specified by SBC-3.
Change the prototype for scsi_read_capacity_16().
scsi_da.c: Register changes in read capacity data with the transport
layer. This allows the transport layer to send out an
async notification to interested parties. Update the
dasetgeom() API.
Use scsi_extract_sense_len() instead of
scsi_extract_sense().
scsi_xpt.c: Add support for the new CDAI_TYPE_RCAPLONG advanced
information type.
Make sure we set the physpath pointer to NULL after freeing
it. This allows blindly freeing it in the struct cam_ed
destructor.
sys/param.h: Bump __FreeBSD_version from 1000005 to 1000006 to make it
easier for third party drivers to determine that the read
capacity data async notification is available.
camcontrol.c,
mptutil/mpt_cam.c:
Update these for the new scsi_read_capacity_16() argument
structure.
Sponsored by: Spectra Logic
2012-01-26 18:09:28 +00:00
..
2010-12-06 10:24:06 +00:00
2010-01-02 11:07:44 +00:00
2012-01-13 22:16:47 +00:00
2011-12-30 10:58:14 +00:00
2010-08-23 22:24:11 +00:00
2011-06-24 07:05:20 +00:00
2011-11-06 19:01:30 +00:00
2010-11-22 14:16:22 +00:00
2010-11-30 16:14:19 +00:00
2011-07-16 11:20:54 +00:00
2010-04-14 19:08:06 +00:00
2010-01-02 11:07:44 +00:00
2010-02-26 09:41:16 +00:00
2010-01-02 11:07:44 +00:00
2010-01-02 11:07:44 +00:00
2012-01-05 21:36:45 +00:00
2011-12-20 15:19:29 +00:00
2012-01-20 01:39:26 +00:00
2012-01-25 03:37:39 +00:00
2012-01-10 15:29:03 +00:00
2010-01-02 11:07:44 +00:00
2011-12-30 00:59:08 +00:00
2011-11-06 16:52:26 +00:00
2011-12-30 00:59:08 +00:00
2011-11-06 19:01:41 +00:00
2011-11-06 16:40:17 +00:00
2010-10-08 12:40:16 +00:00
2010-05-19 08:57:53 +00:00
2012-01-13 09:08:41 +00:00
2012-01-20 01:39:16 +00:00
2010-11-30 16:04:40 +00:00
2011-12-30 10:58:14 +00:00
2010-10-08 12:40:16 +00:00
2012-01-12 00:34:33 +00:00
2011-12-17 20:07:42 +00:00
2012-01-25 14:50:12 +00:00
2010-10-08 12:40:16 +00:00
2011-07-16 11:20:54 +00:00
2011-11-06 19:01:48 +00:00
2010-01-02 11:07:44 +00:00
2011-07-21 19:39:40 +00:00
2010-01-02 11:07:44 +00:00
2010-01-02 11:07:44 +00:00
2010-01-02 11:07:44 +00:00
2011-07-16 11:20:54 +00:00
2011-07-16 11:20:54 +00:00
2011-07-16 11:20:54 +00:00
2010-01-02 11:07:44 +00:00
2010-01-02 11:07:44 +00:00
2011-12-30 10:58:14 +00:00
2010-02-16 21:47:05 +00:00
2010-05-12 21:25:05 +00:00
2010-12-08 10:27:07 +00:00
2012-01-20 01:39:08 +00:00
2010-05-27 13:56:19 +00:00
2011-02-21 09:56:08 +00:00
2011-11-06 19:01:54 +00:00
2010-04-14 19:08:06 +00:00
2011-03-01 08:52:10 +00:00
2011-07-06 15:18:32 +00:00
2011-10-23 06:23:11 +00:00
2011-06-28 11:57:25 +00:00
2011-12-30 10:58:14 +00:00
2011-07-16 11:20:54 +00:00
2010-01-02 11:07:44 +00:00
2010-01-02 11:07:44 +00:00
2011-05-25 21:04:11 +00:00
2010-05-19 08:57:53 +00:00
2010-01-02 11:07:44 +00:00
2012-01-20 01:38:44 +00:00
2011-12-30 10:58:14 +00:00
2012-01-03 18:51:58 +00:00
2011-12-17 20:25:23 +00:00
2010-01-02 11:07:44 +00:00
2012-01-03 18:51:58 +00:00
2011-12-30 10:58:14 +00:00
2011-07-16 11:20:54 +00:00
2012-01-24 08:04:38 +00:00
2010-01-02 11:07:44 +00:00
2011-08-13 13:49:11 +00:00
2011-12-30 00:59:08 +00:00
2011-12-30 10:58:14 +00:00
2011-12-17 20:53:06 +00:00
2011-12-30 10:58:14 +00:00
2011-12-30 00:59:08 +00:00
2011-06-06 18:40:01 +00:00
2010-12-20 19:08:15 +00:00
2012-01-13 06:51:15 +00:00
2010-01-02 11:07:44 +00:00
2010-01-02 11:07:44 +00:00
2010-10-12 21:01:26 +00:00
2012-01-25 07:45:15 +00:00
2010-01-02 11:07:44 +00:00
2011-11-06 19:01:59 +00:00
2011-11-29 08:22:12 +00:00
2011-12-05 15:11:35 +00:00
2011-11-06 19:02:13 +00:00
2010-12-20 08:54:30 +00:00
2012-01-12 00:34:33 +00:00
2010-03-04 16:07:14 +00:00
2012-01-16 19:34:21 +00:00
2010-01-02 11:07:44 +00:00
2012-01-20 01:38:12 +00:00
2012-01-20 01:38:05 +00:00
2012-01-04 07:04:43 +00:00
2012-01-26 18:09:28 +00:00
2011-06-24 17:54:45 +00:00
2012-01-03 18:51:58 +00:00
2011-09-03 07:13:45 +00:00
2011-07-16 11:20:54 +00:00
2010-01-02 11:07:44 +00:00
2011-07-16 11:20:54 +00:00
2011-12-17 22:16:27 +00:00
2011-03-21 09:40:01 +00:00
2012-01-05 21:36:36 +00:00
2010-08-16 15:18:30 +00:00
2011-06-24 07:05:20 +00:00
2010-07-20 00:32:11 +00:00
2009-05-29 22:19:45 +00:00
2011-06-21 21:07:33 +00:00
2010-12-20 09:36:54 +00:00
2010-01-02 11:07:44 +00:00
2011-12-30 10:58:14 +00:00
2011-07-16 11:20:54 +00:00
2011-12-30 10:58:14 +00:00
2010-01-02 11:07:44 +00:00
2010-01-02 11:07:44 +00:00
2011-12-30 10:58:14 +00:00
2011-12-30 10:58:14 +00:00
2010-04-14 19:08:06 +00:00
2012-01-09 00:48:19 +00:00
2010-10-16 17:30:27 +00:00
2011-12-17 23:39:13 +00:00
2012-01-20 01:37:56 +00:00
2010-01-02 11:07:44 +00:00
2011-11-13 06:39:49 +00:00
2011-12-11 19:22:42 +00:00
2012-01-20 01:37:49 +00:00
2010-04-14 19:08:06 +00:00
2010-01-02 11:07:44 +00:00
2010-01-02 11:07:44 +00:00
2010-01-02 11:07:44 +00:00
2011-09-28 18:53:36 +00:00
2011-12-30 10:58:14 +00:00
2011-11-06 19:02:25 +00:00
2011-01-24 06:17:05 +00:00
2012-01-03 11:08:58 +00:00
2012-01-20 01:37:23 +00:00
2010-03-16 06:12:30 +00:00
2011-11-06 19:02:31 +00:00
2011-11-06 19:02:37 +00:00
2011-07-16 11:20:54 +00:00
2011-07-16 11:20:54 +00:00
2011-12-30 10:58:14 +00:00
2011-12-30 10:58:14 +00:00
2011-06-02 20:15:32 +00:00
2010-01-02 11:07:44 +00:00
2011-06-24 07:05:20 +00:00
2011-12-18 00:55:46 +00:00
2010-08-01 09:37:36 +00:00
2011-12-30 10:58:14 +00:00
2010-01-02 11:07:44 +00:00
2011-09-12 23:52:55 +00:00
2011-12-30 10:58:14 +00:00
2011-12-27 20:03:57 +00:00
2012-01-20 01:38:52 +00:00
2012-01-03 18:51:58 +00:00
2011-12-18 01:08:25 +00:00
2012-01-20 01:39:01 +00:00
2011-12-19 13:35:44 +00:00
2011-08-06 09:11:30 +00:00
2010-10-05 06:31:11 +00:00
2009-04-23 08:37:56 +00:00
2010-04-14 19:08:06 +00:00
2010-04-14 19:08:06 +00:00
2010-05-27 13:56:19 +00:00
2011-11-06 19:02:43 +00:00
2011-01-13 17:30:18 +00:00
2011-11-06 19:02:49 +00:00
2011-07-14 07:33:53 +00:00
2010-01-02 11:07:44 +00:00
2010-01-02 11:07:44 +00:00
2011-06-06 17:07:38 +00:00
2011-12-30 10:58:14 +00:00
2012-01-13 06:51:15 +00:00
2010-12-04 14:19:27 +00:00
2010-12-11 09:38:12 +00:00
2009-02-26 20:59:05 +00:00
2012-01-25 02:15:40 +00:00
2011-02-16 21:04:47 +00:00
2010-07-30 11:58:18 +00:00
2012-01-04 07:21:37 +00:00
2011-02-26 09:28:52 +00:00
2011-10-17 15:54:20 +00:00
2011-02-19 11:44:04 +00:00
2011-12-30 10:58:14 +00:00
2010-01-02 11:07:44 +00:00
2010-02-09 17:16:13 +00:00
2010-09-26 01:45:33 +00:00
2010-01-02 11:07:44 +00:00
2010-01-02 11:07:44 +00:00
2012-01-18 02:44:22 +00:00
2011-12-19 20:44:44 +00:00
2011-10-24 14:35:31 +00:00
2010-02-16 21:47:05 +00:00
2010-01-02 11:07:44 +00:00
2012-01-17 20:39:33 +00:00
2010-01-02 11:07:44 +00:00
2010-03-20 11:05:11 +00:00
2012-01-12 00:34:33 +00:00
2010-12-09 11:37:40 +00:00
2010-09-13 02:21:07 +00:00
2010-09-13 02:21:07 +00:00
2010-09-13 02:21:07 +00:00
2010-01-02 11:07:44 +00:00
2011-01-27 14:16:12 +00:00
2010-09-13 02:21:07 +00:00
2010-09-13 02:21:07 +00:00