From: Jens Axboe Date: Fri, 3 Feb 2006 07:37:08 +0000 (+0100) Subject: [PATCH] blk: Fix SG_IO ioctl failure retry looping X-Git-Tag: v2.6.16-rc3~59^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01840f9c9d7ae366311302077ace6bc39169399b;p=pandora-kernel.git [PATCH] blk: Fix SG_IO ioctl failure retry looping When issuing an SG_IO ioctl through sd that resulted in an unrecoverable error, a nearly infinite retry loop was discovered. This is due to the fact that the block layer SG_IO code is not setting up rq->retries. This patch also fixes up the sg_scsi_ioctl path. Signed-off-by: Brian King Signed-off-by: Jens Axboe --- Reading git-diff-tree failed