On 11/26/2012 06:23 PM, Bart Van Assche wrote:
On 11/21/12 08:19, Hannes Reinecke wrote:
Hmm.
This would still mean that the eh thread will run until finished.
Which can take _A LOT_ of time (we're speaking hours here).
I would rather have an additional return code in the various
scsi_try_XXX functions to terminate the loop quickly.
Hello Hannes,
Since I'm not sure that I understood you properly: is something like
the patch below what you had in mind ?
Yeah, something like this.
Although the usage of 'scsi_host_scan_allowed()' is
non-obvious; after all, we're not _scanning_ this host,
we're just checking if it's working normally.
But thanks for doing this.
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@xxxxxxx +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)
--
To unsubscribe from this list: 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