Re: [GIT PATCH] SCSI merge for 2.6.13

From: James Bottomley
Date: Wed Sep 07 2005 - 13:15:10 EST


On Wed, 2005-09-07 at 10:47 -0700, Patrick Mansfield wrote:
> The scsi_execute() retries argument is still not used.

Yes, Jens was thinking about how to add this to the block layer.

> How is this going to work?
>
> For example, multiple unit attentions (power on / reset) during scanning.
> We send REPORT LUN, READ CAPACITY, etc., and would not retry if we got a
> unit attention.

Well ... all of the places we were specifying retries mostly had three
of them, so the scsi_request_fn() actually hard codes three retries. A
hack, but it works until the real method is in place.

James


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/