linux/drivers/scsi/aacraid
Salyzyn, Mark 9d399cc7fe [SCSI] aacraid: add support for FUA
Back in the beginning of last year we disabled mode page 8 and mode page
3f requests through device quirk bits instead of enhancing the driver to
respond to these mode pages because there was no apparent added value.

The Firmware that supports the new communication commands supports the
ability to force a write around of the adapter cache on a command by
command basis. In the attached patch we enable mode page 8 and 3f and
spoof the results as needed in order to *convince* the layers above to
submit writes with the FUA (Force Unit Attention) bit set if the file
system or application requires it, if the Firmware supports the write
through, or instead to submit a SYNCHRONIZE_CACHE if the Firmware does
not. The added value here is for file systems that benefit from this
functionality and for clustering or redundancy scenarios.

Caveats: By convince, we are responding with a minimal short 3 byte
content mode page 8, with only the data the SCSI layer needs and that we
can fill confidently. Applications that require the customarily larger
mode page 8 results may be confused by this(?). The FUA, or the
SYNCHRONIZE_CACHE only affect the cache on the controller. Our firmware
by default ensure that the underlying physical drives of the array have
their cache turned off so normally this is not a problem.

This attached patch is against current scsi-misc-2.6 and was unit tested
on RHEL5. Since this is a feature enhancement, it should not be
considered for any current stabilization efforts.

Signed-off-by: Mark Salyzyn <aacraid@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-05-22 10:52:21 -05:00
..
aachba.c [SCSI] aacraid: add support for FUA 2007-05-22 10:52:21 -05:00
aacraid.h [SCSI] aacraid: add support for FUA 2007-05-22 10:52:21 -05:00
commctrl.c [SCSI] aacraid: resolve compiler warnings using ptrdiff_t 2007-04-01 10:25:21 -05:00
comminit.c [SCSI] aacraid: kmalloc/memset->kzalloc 2007-05-06 09:33:11 -05:00
commsup.c [SCSI] aacraid: kmalloc/memset->kzalloc 2007-05-06 09:33:11 -05:00
dpcsup.c [SCSI] aacraid: kmalloc/memset->kzalloc 2007-05-06 09:33:11 -05:00
linit.c [SCSI] aacraid: add support for FUA 2007-05-22 10:52:21 -05:00
Makefile [SCSI] aacraid: Begin adding support for new adapter type 2007-01-27 09:27:31 -06:00
nark.c [SCSI] aacraid: cleanups 2007-04-01 10:16:35 -05:00
rkt.c [SCSI] aacraid: cleanups 2007-04-01 10:16:35 -05:00
rx.c [SCSI] aacraid: superfluous adapter reset for IBM 8 series ServeRAID controllers 2007-05-06 09:48:21 -05:00
sa.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
TODO [SCSI] aacraid: Newer adapter communication iterface support 2005-10-28 11:41:53 -05:00