public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] Have qla2xxx driver bind fcports.
@ 2004-01-19 17:03 Andrew Vasquez
  2004-01-19 17:11 ` James Bottomley
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Vasquez @ 2004-01-19 17:03 UTC (permalink / raw)
  To: Andrew Morton, James Bottomley; +Cc: linux-scsi

[-- Attachment #1: Type: text/plain, Size: 528 bytes --]

Andrew/James,

During the removal of the failover and IOCTL code from the 
scsi-qla2xxx-2.6 tree, one critical piece of code (a one-liner) was 
inadvertently removed that effectively disables the drivers ability 
to bind fcports (devices found in the loop or fabric) to the SCSI 
nexus (h/b/t/l).  This could cause users to believe that no devices
would be discovered during driver scans.

BTW: This fix is already in the resync_bk-v8.00.00b9 patch up on the
SF.net site.

Please apply.

Regards,
Andrew Vasquez

[-- Attachment #2: bind_fcports-v8.00.00b8-mm4.diff --]
[-- Type: application/octet-stream, Size: 484 bytes --]

--- linux-2.6.1-mm4/drivers/scsi/qla2xxx/qla_init.c.orig	2004-01-19 08:23:46.924323032 -0800
+++ linux-2.6.1-mm4/drivers/scsi/qla2xxx/qla_init.c	2004-01-19 08:24:48.860907240 -0800
@@ -1592,6 +1592,8 @@
 	if (!atomic_read(&ha->loop_down_timer) &&
 	    !(test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags))) {
 
+		qla2x00_config_os(ha);
+
 		/* If we found all devices then go ready */
 		if (!(test_bit(LOGIN_RETRY_NEEDED, &ha->dpc_flags))) {
 			atomic_set(&ha->loop_state, LOOP_READY);

^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: [patch] Have qla2xxx driver bind fcports.
@ 2004-01-19 17:20 Andrew Vasquez
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Vasquez @ 2004-01-19 17:20 UTC (permalink / raw)
  To: James Bottomley; +Cc: Andrew Morton, SCSI Mailing List

On Monday, January 19, 2004 9:11 AM, James Bottomley wrote:
> On Mon, 2004-01-19 at 12:03, Andrew Vasquez wrote:
> > BTW: This fix is already in the resync_bk-v8.00.00b9 patch up on the
> > SF.net site.
> 
> Thanks, sorry about that.
>

No problem.
 
> As far as the resync goes, I'd like to wait a while just to see if any
> more bugs turn up in the ioctl/failover separation piece ...
> it will be
> easier to debug if we have fewer changes, so how does early
> 2.6.2 sound
> for this (depending, of course, on when that actually is)?
>

That's fine, especially since there are some other structural fixups
the community would like to see with respect to the new firmware
images contained in b9.

Regards,
Andrew Vasquez

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-01-19 22:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-19 17:03 [patch] Have qla2xxx driver bind fcports Andrew Vasquez
2004-01-19 17:11 ` James Bottomley
2004-01-19 21:40   ` Michael W. Shaffer
2004-01-19 21:49     ` Andrew Morton
2004-01-19 22:00       ` Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2004-01-19 17:20 Andrew Vasquez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox