From: Edward Goggin Date: Thu, 9 Apr 2009 17:02:22 +0000 (-0700) Subject: [SCSI] initialize max_target_blocked in scsi_alloc_target X-Git-Tag: v2.6.30-rc7~1^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c53a284f8be23735dc6b53929640a987055f2933;p=pandora-kernel.git [SCSI] initialize max_target_blocked in scsi_alloc_target This patch initializes the max_target_blocked field of a scsi target structure so that a queuecommand return value of SCSI_MLQUEUE_TARGET_BUSY will actually result in having the scsi_queue_insert blocking the device queue before requeuing the command and running the queue. Otherwise, can and does cause livelock on single CPU configurations if/when open-iSCSI software initiator's command PDU window fills. Signed-off-by: Ed Goggin Signed-off-by: James Bottomley --- Reading git-diff-tree failed