kernel-ark/include/scsi
Al Viro 631e8a1398 [SCSI] TYPE_RBC cache fixes (sbp2.c affected)
a) TYPE_SDAD renamed to TYPE_RBC and taken to scsi.h
	b) in sbp2.c remapping of TYPE_RPB to TYPE_DISK turned off
	c) relevant places in midlayer and sd.c taught to accept TYPE_RBC
	d) sd.c::sd_read_cache_type() looks into page 6 when dealing with
TYPE_RBC - these guys have writeback cache flag there and are not guaranteed
to have page 8 at all.
	e) sd_read_cache_type() got an extra sanity check - it checks that
it got the page it asked for before using its contents.  And screams if
mismatch had happened.  Rationale: there are broken devices out there that
are "helpful" enough to go for "I don't have a page you've asked for, here,
have another one".  For example, PL3507 had been caught doing just that...
	f) sbp2 sets sdev->use_10_for_rw and sdev->use_10_for_ms instead
of bothering to remap READ6/WRITE6/MOD_SENSE, so most of the conversions
in there are gone now.

	Incidentally, I wonder if USB storage devices that have no
mode page 8 are simply RBC ones.  I haven't touched that, but it might
be interesting to check...

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-05-26 08:41:15 -05:00
..
scsi_cmnd.h [PATCH] scsi: remove meaningless scsi_cmnd->serial_number_at_timeout field 2005-04-18 12:33:15 -05:00
scsi_dbg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_device.h merge by hand (scsi_device.h) 2005-04-18 13:45:00 -05:00
scsi_devinfo.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_driver.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_eh.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_host.h [PATCH] scsi: remove volatile from scsi data 2005-04-18 12:35:31 -05:00
scsi_ioctl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_request.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_tcq.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_transport_fc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_transport_iscsi.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_transport_spi.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_transport.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi.h [SCSI] TYPE_RBC cache fixes (sbp2.c affected) 2005-05-26 08:41:15 -05:00
scsicam.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00