From: Christoph Hellwig Date: Thu, 20 Feb 2014 22:20:54 +0000 (-0800) Subject: [SCSI] avoid taking host_lock in scsi_run_queue unless nessecary X-Git-Tag: v3.15-rc1~136^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21a05df547dd0ac532d3a89e241dc504018eb881;p=pandora-kernel.git [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 Reviewed-by: Hannes Reinecke Signed-off-by: James Bottomley --- Reading git-diff-tree failed