[SCSI] megaraid_sas: Add fpRead/WriteCapable, fpRead/WriteAcrossStripe checks
authoradam radford <aradford@gmail.com>
Tue, 20 Mar 2012 02:50:00 +0000 (19:50 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 23 Apr 2012 18:26:18 +0000 (19:26 +0100)
commitc1529fa25e20f4c5d92d82165a8ff5fe27eae974
treeb4cc4d32871991915cb9fcb9cd3e08cb25cac34a
parent5738f996432589eebe88db21f4a9cb8ee5f04872
[SCSI] megaraid_sas: Add fpRead/WriteCapable, fpRead/WriteAcrossStripe checks

The following patch for megaraid_sas fixes the fastpath code decision
logic to use fpRead/WriteCapable, fpRead/WriteAcrossStripe flags
instead of the old logic.  This fixes a bug where fastpath writes
could be sent to a read only LD.

Signed-off-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/megaraid/megaraid_sas_fp.c