]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hpsa: use block layer tag for command allocation
authorWebb Scales <webbnh@hp.com>
Fri, 6 Nov 2015 13:47:44 +0000 (05:47 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 19:49:25 +0000 (11:49 -0800)
commit9139b043d820a13c9a4af468da6644a78e17ab54
tree60d75c7d2c0289e6a80c4446aaa74e939699ea1f
parent2a5171df7a5698e3893708218c46dd43c1a569e9
hpsa: use block layer tag for command allocation

Rework slave allocation:
  - separate the tagging support setup from the hostdata setup
  - make the hostdata setup act consistently when the lookup fails
  - make the hostdata setup act consistently when the device is not added
  - set up the queue depth consistently across these scenarios
  - if the block layer mq support is not available, explicitly enable and
    activate the SCSI layer tcq support (and do this at allocation-time so
    that the tags will be available for INQUIRY commands)

Tweak slave configuration so that devices which are masked are also
not attached.

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Reviewed-by: Kevin Barnett <kevin.barnett@pmcs.com>
Signed-off-by: Webb Scales <webbnh@hp.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Orabug: 22075051
Acked-by: Chuck Anderson <chuck.anderson@oracle.com>
drivers/scsi/hpsa.c
drivers/scsi/hpsa.h