Re: [PATCH] scsi device recovery

2007-12-13 Thread James Bottomley
On Wed, 2007-12-12 at 18:54 +0100, Bernd Schubert wrote: [Hmm, resending since mail after more than 30min still not on the ML, maybe the attachment was too large? I have uploaded the log to http://www.pci.uni-heidelberg.de/tc/usr/bernd/downloads/scsi/kern.log.1] On Wednesday 12 December

[PATCH] scsi device recovery

2007-12-12 Thread Bernd Schubert
Hi, below is a patch introducing device recovery, trying to prevent i/o errors when a DID_NO_CONNECT or SOFT_ERROR does happen. The patch still needs quite some work: 1.) I still didn't figure out what is the best place to run sdev-deh.ehandler = kthread_run(scsi_device_error_handler, ...)

Re: [PATCH] scsi device recovery

2007-12-12 Thread Matthew Wilcox
On Wed, Dec 12, 2007 at 01:54:14PM +0100, Bernd Schubert wrote: below is a patch introducing device recovery, trying to prevent i/o errors when a DID_NO_CONNECT or SOFT_ERROR does happen. Why doesn't the regular scsi_eh do what you need? -- Intel are signing my paycheques ... these opinions

Re: [PATCH] scsi device recovery

2007-12-12 Thread Bernd Schubert
On Wednesday 12 December 2007 14:39:27 Matthew Wilcox wrote: On Wed, Dec 12, 2007 at 01:54:14PM +0100, Bernd Schubert wrote: below is a patch introducing device recovery, trying to prevent i/o errors when a DID_NO_CONNECT or SOFT_ERROR does happen. Why doesn't the regular scsi_eh do what

Re: [PATCH] scsi device recovery

2007-12-12 Thread Bernd Schubert
[Hmm, resending since mail after more than 30min still not on the ML, maybe the attachment was too large? I have uploaded the log to http://www.pci.uni-heidelberg.de/tc/usr/bernd/downloads/scsi/kern.log.1] On Wednesday 12 December 2007 16:59:36 James Bottomley wrote: On Wed, 2007-12-12 at