From: Christoph Hellwig Date: Wed, 26 Mar 2014 09:35:00 +0000 (+0100) Subject: scsi: only maintain target_blocked if the driver has a target queue limit X-Git-Tag: omap-for-v3.17/fixes-against-rc2~143^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ccbb00808465338b57c39f38c0b1e7ce69e2bb1;p=pandora-kernel.git scsi: only maintain target_blocked if the driver has a target queue limit This saves us an atomic operation for each I/O submission and completion for the usual case where the driver doesn't set a per-target can_queue value. Only a few iscsi hardware offload drivers set the per-target can_queue value at the moment. Signed-off-by: Christoph Hellwig Reviewed-by: Martin K. Petersen Reviewed-by: Webb Scales Acked-by: Jens Axboe Tested-by: Bart Van Assche Tested-by: Robert Elliott --- Reading git-diff-tree failed