linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] qla4xxx: TODO for re-submission
@ 2006-06-11  1:16 Doug Maxey
  2006-06-12 16:49 ` Ravi Anand
                   ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Doug Maxey @ 2006-06-11  1:16 UTC (permalink / raw)
  To: Mike Christie, Ravi Anand, David Somayajulu, Duane Grigsby
  Cc: linux-scsi, dwm

Subject: [RFC] qla4xxx: TODO for re-submission

Howdy!

The qla4xxx driver for the QLogic ISP4XXX chipset will be getting a
little janitorial love along the lines of:

A) a rework of the 2006-06-06 Qlogic submitted qla4xxx code to get the
   driver to be in line with the kernel coding style.
B) being made more compliant with the scsi_mid_low_api.txt.  Being
   compiled for M$ does not count as an alternative OS. :)  In
   particular, move all the code to single .c file.  If and when
   another chipset comes along that can utilize some of the bits, look
   into splitting it back up.
C) removal of unreachable or unused code.
D) a rework of the function layout and size, including linewidth adjustments
E) fixups to printk formatting, and moving to dev_printk().  For the
   first pass, just remove the debug printk()'s

This will not be a re-write of the driver per se, just a refactoring
going on in parallel to the work of the QLogic folks and mike, in an
effort to get this driver into mainline.

The plan is to:
1) submit the Documentation/LICENSE.qla4xxx.txt file and check
   the provenance with the original submitters..
2) pull all the data structs into the file, swizzle the types to be
   kernel compliant.
3) pull the core driver initialization (module_init(), pci init et al)
   into the file drivers/scsi/qla4xxx.c
4) add the iscsi transport code.
5) add the block layer code.
6) add the device firmware access.
7) add the hooks for the Kconfig and Makefile

Does this appear to be a workable plan?  Should the struct cleanup
wait and come in on an as needed basis?

All comments will be appreciated.

++doug



^ permalink raw reply	[flat|nested] 25+ messages in thread
* RE: [RFC] qla4xxx: TODO for re-submission
@ 2006-06-16 22:32 David Somayajulu
  0 siblings, 0 replies; 25+ messages in thread
From: David Somayajulu @ 2006-06-16 22:32 UTC (permalink / raw)
  To: Mike Christie, Ravi Anand
  Cc: Doug Maxey, Duane Grigsby, linux-scsi, dwm, David Wagner

> 
> So normally when you say target you mean portal. I mean for
sendtargets
iSCSI Target when there is an iSCSI Name associated with it, otherwise a
portal. I guess it would be clear to say Target Portal and Node instead.

> we set a portals as persistent not a whole target right (this is from
> jsut using iscli)? For iSNS, can't we get updates that there are new
> portals popping in the san? You are not saying that normally we want
to
> handle this by starting up a config app and setting them as
persistent.
That is correct we should field SCN (state change notification) and ESI
(entity status inquiry) events.
> I thought we would want to dyncallically add them to the system.
That is correct.
> 
> What is the point of using iSNS and setting the targets as persistent
in
> the initiator DB anyways? I thought one of the benefits of iSNS is
that
> we would manage all the targets and initiator access from a central
> location?
The HBA architecture allows any iSCSI Target Node or Portal (in case of
Send targets) to be made persistent. It is up to the user to determine
which ones need to be persistent.


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

end of thread, other threads:[~2006-06-16 22:32 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-11  1:16 [RFC] qla4xxx: TODO for re-submission Doug Maxey
2006-06-12 16:49 ` Ravi Anand
2006-06-12 16:52   ` Mike Christie
2006-06-12 16:57     ` Ravi Anand
2006-06-12 19:08     ` Doug Maxey
2006-06-12 19:01   ` Doug Maxey
2006-06-12 17:43 ` Mike Christie
2006-06-12 17:44   ` Mike Christie
2006-06-12 19:04   ` Doug Maxey
2006-06-12 20:05     ` Mike Christie
2006-06-12 18:05 ` Mike Christie
2006-06-12 21:10   ` Ravi Anand
2006-06-12 21:35     ` Mike Christie
2006-06-12 22:35       ` Mike Christie
2006-06-12 22:50         ` Ravi Anand
2006-06-12 22:43       ` Ravi Anand
2006-06-13  3:30         ` Mike Christie
2006-06-13  3:48           ` Doug Maxey
2006-06-13  4:31             ` Jeff Garzik
2006-06-13  5:00               ` Doug Maxey
2006-06-13 12:16               ` berthiaume_wayne
2006-06-15  0:35           ` Ravi Anand
2006-06-15  0:43           ` Ravi Anand
2006-06-15 17:31             ` Mike Christie
  -- strict thread matches above, loose matches on Subject: below --
2006-06-16 22:32 David Somayajulu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).