Mike Christie wrote:
Kai Makisara wrote:
I think I may have found the problem: scsi_execute_async does not use
the parameter retries (the same applies to scsi_execute btw). This
leads to retrying the reads at filemark and this is not correct. I
added the hack below to scsi_execute_async and after this the simple
tests succeed.
ah ok. I think when we prep the command we need to copy the retries from
the command. So in st.c st_init_command callout we need to copy that
value (we are just copying the timeout today).
oh I guess there is not retries count on the request like there is for
timeout :)
But it looks like retried is always 0. I guess st's init_command could
just do
SCpnt->allowed = 0;
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html