linux/drivers/scsi/megaraid
Christoph Hellwig 1e6f241604 scsi: don't allow setting of queue_depth bigger than can_queue
We won't ever queue more commands than the host allows.  Instead of
letting drivers either reject or ignore this case handle it in
common code.  Note that various driver use internal constant or
variables that are assigned to both shost->can_queue and checked
in ->change_queue_depth - I did remove those checks as well.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Reviewed-by: Hannes Reinecke <hare@suse.de>
2014-11-24 14:45:26 +01:00
..
Kconfig.megaraid
Makefile [SCSI] megaraid_sas: Add 9565/9285 specific code 2010-12-22 23:26:53 -06:00
mbox_defs.h Fix common misspellings 2011-03-31 11:26:23 -03:00
mega_common.h scsi: use 64-bit LUNs 2014-07-17 22:07:37 +02:00
megaraid_ioctl.h
megaraid_mbox.c scsi: don't allow setting of queue_depth bigger than can_queue 2014-11-24 14:45:26 +01:00
megaraid_mbox.h
megaraid_mm.c [SCSI] megaraid: missing bounds check in mimd_to_kioc() 2014-03-15 10:19:00 -07:00
megaraid_mm.h
megaraid_sas_base.c scsi: don't allow setting of queue_depth bigger than can_queue 2014-11-24 14:45:26 +01:00
megaraid_sas_fp.c megaraid_sas: dndinaness related bug fixes 2014-11-24 14:38:57 +01:00
megaraid_sas_fusion.c megaraid_sas: dndinaness related bug fixes 2014-11-24 14:38:57 +01:00
megaraid_sas_fusion.h megaraid_sas: online Firmware upgrade support for Extended VD feature 2014-11-24 14:38:46 +01:00
megaraid_sas.h megaraid_sas: online Firmware upgrade support for Extended VD feature 2014-11-24 14:38:46 +01:00