linux/drivers/scsi/aacraid
Rajashekhara, Mahesh da3cc679b2 [SCSI] aacraid: prohibit access to array container space
Problem description:
--------------------

The issue reported by one of the customer was able to read LBA beyond
the array reported size with "sg_read" utility. If N is the last block
address reported, then should not be able to read past N,
i.e. N+1. But in their case, reported last LBA=143134719.  So should
not have been able to read with LBA=143134720, but it is read without
failure, which means reported size to the OS is not correct and is
less than the actual last block address.

Solution:
---------

Firmware layer exposes lesser container capacity than the actual
one. It exposes [Actual size - Spitfire space(10MB)] to the OS, IO's
to the 10MB should be prohibited from the Linux driver. Driver checks
LBA boundary, if its greater than the array reported size then sets
sensekey to HARDWARE_ERROR and sends the notification to the MID
layer.

Signed-off-by: Mahesh Rajashekhara <aacraid@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-05-16 22:49:46 -04:00
..
aachba.c [SCSI] aacraid: prohibit access to array container space 2010-05-16 22:49:46 -04:00
aacraid.h [SCSI] aacraid: respond automatically to volumes added by config tool 2010-05-16 22:28:04 -04:00
commctrl.c [SCSI] aacraid: fix File System going into read-only mode 2010-01-17 12:16:17 -06:00
comminit.c [SCSI] aacraid: fix File System going into read-only mode 2010-01-17 12:16:17 -06:00
commsup.c [SCSI] aacraid: respond automatically to volumes added by config tool 2010-05-16 22:28:04 -04:00
dpcsup.c [SCSI] aacraid: fix File System going into read-only mode 2010-01-17 12:16:17 -06:00
linit.c [SCSI] modify change_queue_depth to take in reason why it is being called 2009-12-04 12:00:41 -06:00
Makefile [SCSI] aacraid: Begin adding support for new adapter type 2007-01-27 09:27:31 -06:00
nark.c [SCSI] aacraid: draw line in sand, sundry cleanup and version update 2007-07-27 09:13:28 -04:00
rkt.c [SCSI] Clean up my email address and use a single standard address for everything 2008-12-29 11:24:12 -06:00
rx.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
sa.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
TODO [SCSI] aacraid: Newer adapter communication iterface support 2005-10-28 11:41:53 -05:00