Re: [PATCH 3] sata: restore sg on setup failure

2005-08-07 Thread Tejun Heo
I forgot to restore sg-length on setup failure. This patch adds it. Signed-off-by: Tejun Heo [EMAIL PROTECTED] Index: work/drivers/scsi/libata-core.c === --- work.orig/drivers/scsi/libata-core.c2005-08-07

RE: As of 2.6.13-rc1 Fusion-MPT very slow

2005-08-07 Thread James Bottomley
On Sun, 2005-08-07 at 05:59 +, Holger Kiehl wrote: Thanks, removing those it compiles fine. This patch also solves my problem, here the output of dmesg: Well ... the transport class was supposed to help diagnose the problem rather than fix it. However, what it shows is that the original

Synchronizing scsi_remove_host and the error handler

2005-08-07 Thread Alan Stern
Mike: What sort of synchronization is there between scsi_remove_host and the error-handler thread? Offhand I can see two possible problems, depending on how the LLD is written: 1. The error handler asks the LLD to perform a reset just as the LLD calls scsi_remove_host as part of

atomic_kmap for PIO (was Re: Fw: Kernel panic with dc395x in 2.6.12.2)

2005-08-07 Thread Guennadi Liakhovetski
Hi all A problem has first been reported in Date: Thu, 6 Jan 2005 05:18:25 -0500 From: Andrew Schulman [EMAIL PROTECTED] Subject: dc395x: can't write to tape whereby a bug has become apparent in driver's virtual address calculation. I wrote a patch, which propagated into the mainline, before

Re: Synchronizing scsi_remove_host and the error handler

2005-08-07 Thread James Bottomley
On Sun, 2005-08-07 at 14:43 -0400, Alan Stern wrote: What host device release method? scsi_host_template-release is marked OBSOLETE and for use only with old-style drivers. scsi_host_dev_release ^ This is the one I was thinking of

[PATCH CC] gdth: remove GDTIOCTL_OSVERS

2005-08-07 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan [EMAIL PROTECTED] --- drivers/scsi/gdth.c | 12 drivers/scsi/gdth_ioctl.h |8 2 files changed, 20 deletions(-) diff -uprN linux-vanilla/drivers/scsi/gdth.c linux-gdth/drivers/scsi/gdth.c --- linux-vanilla/drivers/scsi/gdth.c

Re: atomic_kmap for PIO (was Re: Fw: Kernel panic with dc395x in 2.6.12.2)

2005-08-07 Thread Guennadi Liakhovetski
On Sun, 7 Aug 2005, Mike Christie wrote: Guennadi Liakhovetski wrote: Now, it would be best, I think, if somebody could review the patches to dc395x and tmscsim. In case the 2 functions are correct, they could be included in a central file (scsi_lib?) for all drivers, needing PIO (I

Re: atomic_kmap for PIO (was Re: Fw: Kernel panic with dc395x in 2.6.12.2)

2005-08-07 Thread Mike Christie
Guennadi Liakhovetski wrote: On Sun, 7 Aug 2005, Mike Christie wrote: Guennadi Liakhovetski wrote: Now, it would be best, I think, if somebody could review the patches to dc395x and tmscsim. In case the 2 functions are correct, they could be included in a central file (scsi_lib?) for all

Re: [PATCH CC] gdth: remove GDTIOCTL_OSVERS

2005-08-07 Thread Adrian Bunk
On Mon, Aug 08, 2005 at 02:28:29AM +0400, Alexey Dobriyan wrote: ... --- linux-vanilla/drivers/scsi/gdth.c 2005-08-08 02:16:47.0 +0400 +++ linux-gdth/drivers/scsi/gdth.c2005-08-08 02:19:59.0 +0400 @@ -5411,18 +5411,6 @@ static int gdth_ioctl(struct inode *inod