diff options
author | Christoph Hellwig <[email protected]> | 2014-11-13 14:27:41 +0100 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2014-11-24 14:45:26 +0100 |
commit | 1e6f2416044c062a56091ebf8d76760956dd5872 (patch) | |
tree | 53b83ab97cc475c37f957bb85167ae8cb2ccd550 /scripts/gdb/linux/proc.py | |
parent | c40ecc12cfdb630332198a04e2832ae8218a61f1 (diff) |
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 <[email protected]>
Reviewed-by: Mike Christie <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions