Re: [RFC][PATCH] fix for async scsi scan sysfs problem (resend)

2007-08-12 Thread Matthew Wilcox
On Sat, Aug 11, 2007 at 04:04:54PM +0100, Jurij Smakov wrote: > [Please keep me on CC, as I'm not on LKML.] > I've recently got a Sun Blade 1000 box with a QLA2200 controller, and > I'm bumping into exact same problem with 2.6.22: Please try http://marc.info/?l=linux-scsi&m=118289275414202 which

Re: [RFC][PATCH] fix for async scsi scan sysfs problem (resend)

2007-08-11 Thread Jurij Smakov
[Please keep me on CC, as I'm not on LKML.] On Thu, May 03, 2007 at 04:00:57PM -0400, James Smart wrote: > I doubt it's in the fc transport - it's doing what it always did, which has > nothing to do with coherency of the sdev's. > > We're seeing like problems, and it looks like it's related to the

Re: [RFC][PATCH] fix for async scsi scan sysfs problem (resend)

2007-05-03 Thread James Smart
I doubt it's in the fc transport - it's doing what it always did, which has nothing to do with coherency of the sdev's. We're seeing like problems, and it looks like it's related to the scan_mutex being held when some of the entry points are being called via the recent async scan code (which also

Re: [RFC][PATCH] fix for async scsi scan sysfs problem (resend)

2007-04-23 Thread James Bottomley
On Mon, 2007-04-23 at 14:13 -0400, Josef Bacik wrote: > Ok I have a new patch that I've built and tested on both my UP and SMP machine > and it appears to work fine. I took the async check out of scsi_add_lun, I > don't really see the point in waiting to do the sysfs registration stuff (if > there

Re: [RFC][PATCH] fix for async scsi scan sysfs problem (resend)

2007-04-23 Thread Josef Bacik
On Sat, Apr 21, 2007 at 09:59:56AM -0400, Josef Bacik wrote: > On Sat, Apr 21, 2007 at 12:23:45AM -0700, Andrew Morton wrote: > > On Thu, 19 Apr 2007 11:06:56 -0400 Josef Bacik <[EMAIL PROTECTED]> wrote: > > > > > On Thu, Apr 19, 2007 at 10:02:36AM -0400, James Bottomley wrote: > > > > On Thu, 200

Re: [RFC][PATCH] fix for async scsi scan sysfs problem (resend)

2007-04-21 Thread Josef Bacik
On Sat, Apr 21, 2007 at 12:23:45AM -0700, Andrew Morton wrote: > On Thu, 19 Apr 2007 11:06:56 -0400 Josef Bacik <[EMAIL PROTECTED]> wrote: > > > On Thu, Apr 19, 2007 at 10:02:36AM -0400, James Bottomley wrote: > > > On Thu, 2007-04-19 at 09:25 -0400, Josef Bacik wrote: > > > > Looking through ever

Re: [RFC][PATCH] fix for async scsi scan sysfs problem (resend)

2007-04-21 Thread Andrew Morton
On Thu, 19 Apr 2007 11:06:56 -0400 Josef Bacik <[EMAIL PROTECTED]> wrote: > On Thu, Apr 19, 2007 at 10:02:36AM -0400, James Bottomley wrote: > > On Thu, 2007-04-19 at 09:25 -0400, Josef Bacik wrote: > > > Looking through everything I came to the conclusion that we don't really > > > need > > > th

Re: [RFC][PATCH] fix for async scsi scan sysfs problem (resend)

2007-04-19 Thread Josef Bacik
On Thu, Apr 19, 2007 at 10:02:36AM -0400, James Bottomley wrote: > On Thu, 2007-04-19 at 09:25 -0400, Josef Bacik wrote: > > Looking through everything I came to the conclusion that we don't really > > need > > the scsi_sysfs_add_devices in scsi_finish_async_scan, which gets run > > everytime > >

Re: [RFC][PATCH] fix for async scsi scan sysfs problem (resend)

2007-04-19 Thread James Bottomley
On Thu, 2007-04-19 at 09:25 -0400, Josef Bacik wrote: > Looking through everything I came to the conclusion that we don't really need > the scsi_sysfs_add_devices in scsi_finish_async_scan, which gets run everytime > we do a do_scan_async. In doing the scanning, if we come upon anything we > will

[RFC][PATCH] fix for async scsi scan sysfs problem (resend)

2007-04-19 Thread Josef Bacik
Hello, Resending this to a wider audience (thanks Andrew). I'm having a problem on the newest version of linus's git tree with my qla2xxx card. This is on a UP box, the problem doesn't happen on my similarly configured SMP box. When I unload and then try to load the qla2xxx driver again I ge

[RFC][PATCH] fix for async scsi scan sysfs problem

2007-04-18 Thread Josef Bacik
Hello, I'm having a problem on the newest version of linus's git tree with my qla2xxx card. This is on a UP box, the problem doesn't happen on my similarly configured SMP box. When I unload and then try to load the qla2xxx driver again I get this message kobject_add failed for 3:0:0:0 with -EEX