commit | 01840f9c9d7ae366311302077ace6bc39169399b | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@suse.de> | Fri Feb 03 08:37:08 2006 +0100 |
committer | Jens Axboe <axboe@nelson.home.kernel.dk> | Wed Feb 08 10:07:13 2006 +0100 |
tree | de26c62e94ab279e18b8278cb7d74f1d14290a0c | |
parent | ac171c46667c1cb2ee9e22312291df6ed78e1b6e [diff] |
[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 <brking@us.ibm.com> Signed-off-by: Jens Axboe <axboe@suse.de>