summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libfc
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2014-02-20 23:20:54 +0100
committerJames Bottomley <JBottomley@Parallels.com>2014-03-15 18:19:24 +0100
commit21a05df547dd0ac532d3a89e241dc504018eb881 (patch)
tree040b1db9ec38027f0b15b188dbf71be24584658e /drivers/scsi/libfc
parent[SCSI] avoid useless free_list lock roundtrips (diff)
downloadlinux-21a05df547dd0ac532d3a89e241dc504018eb881.tar.xz
linux-21a05df547dd0ac532d3a89e241dc504018eb881.zip
[SCSI] avoid taking host_lock in scsi_run_queue unless nessecary
If we don't have starved devices we don't need to take the host lock to iterate over them. Also split the function up to be more clear. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/libfc')
0 files changed, 0 insertions, 0 deletions