Re: Retry counters in sd.c

2007-08-16 Thread Pete Zaitcev
On Wed, 15 Aug 2007 11:19:43 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> wrote: > And that's not even taking into account the fact that > sd_read_capcity(), together with everything else under > sd_revalidate_disk(), gets called twice in a row during device > scanning. (What's the reason for that

Retry counters in sd.c

2007-08-15 Thread Alan Stern
James (or anyone else who can answer): The retry counters in sd.c seem to be out of whack. For example, consider sd_read_capacity(). There's an explicit retry loop that runs 3 times, and inside it is a call to scsi_execute_req() with SD_MAX_RETRIES (= 5) as an argument. If for any reaso