public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RE: [SUBJECT CHANGE]: megaraid unified driver version 2.20.0.0-al pha1
@ 2004-02-25 20:38 Mukker, Atul
  2004-02-25 20:44 ` 'Christoph Hellwig'
  2004-02-26  2:27 ` Jeff Garzik
  0 siblings, 2 replies; 13+ messages in thread
From: Mukker, Atul @ 2004-02-25 20:38 UTC (permalink / raw)
  To: 'Christoph Hellwig'
  Cc: 'Arjan van de Ven', 'James Bottomley',
	'matt_domsch@dell.com', 'Paul Wagland',
	Matthew Wilcox, 'linux-kernel@vger.kernel.org',
	'linux-scsi@vger.kernel.org'

> given that they are completely different from the controller we know
> as megaraid today this is an extremly bad idea.  Just put it 
> into an driver
> of their own, e.g. mptraid
Although, this simplifies the development and maintenance effort, having a
single driver to drive both controllers or two independent drivers is not
always our decision. Most often, it would be Dell's preference. 

> 
> > 2.	Controller and device re-ordering on both lk 2.4 and lk 
> 2.6. If this
> > is not desired, the driver code would be modified to make 
> it PCI ordered
> > detection. The driver also re-orders the drives, based on 
> which one is
> > chosen as boot drive. Matt, please add your comments here.
> 
> This is a bad thing for 2.6, don't do it.  For 2.4 just leave 
> the probe code as
> it is there currently - any change during the stable series 
> just confuses
> users.

So it would be. We would make the controller and devices detection PCI
ordered for 2.6 and preferred ordered for lk 2.4. A patch for unified-alpha1
would be posted for this change soon.


> 
> > 4.	Native hot-plug support for both lk 2.4 and lk 2.6
> 
> hotplug scsi in 2.4 is impossible without a host template per 
> controller
> which you don't seem to do and I'd advice against.
> 
> > 6.	Single code to support *all* x86-32, IA64, and x86-64 platforms
> 
> Umm, it's a PCI card - if it doesn't work on any PCI 
> supporting architecture
> it's a driver bug (either in your driver or the architectures 
> PCI subsysyem)
Currently, IA64 has only 1.18 series of drivers as supported ones. 2.x
driver is not tested on this platform.

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: [SUBJECT CHANGE]: megaraid unified driver version 2.20.0.0-al pha1
@ 2004-02-25 20:41 Mukker, Atul
  0 siblings, 0 replies; 13+ messages in thread
From: Mukker, Atul @ 2004-02-25 20:41 UTC (permalink / raw)
  To: 'Matt Domsch', 'Christoph Hellwig', Mukker, Atul,
	'Arjan van de Ven', 'James Bottomley',
	'Paul Wagland', Matthew Wilcox,
	'linux-kernel@vger.kernel.org',
	'linux-scsi@vger.kernel.org'

> I agree with Christoph here.  megaraid is the only driver that I've
> worked with that does this device reordering thing;
Matt, you imply that driver should not do any device re-ordering? I will be
releasing a patch for the unified-alpha1 driver with this change shortly.

Thanks
-Atul Mukker

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: [SUBJECT CHANGE]: megaraid unified driver version 2.20.0.0-al pha1
@ 2004-02-25 23:05 Mukker, Atul
  2004-02-26  2:38 ` Jeff Garzik
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Mukker, Atul @ 2004-02-25 23:05 UTC (permalink / raw)
  To: 'Matt Domsch', 'Christoph Hellwig',
	'Arjan van de Ven', 'James Bottomley',
	'Paul Wagland', Matthew Wilcox,
	'linux-kernel@vger.kernel.org',
	'linux-scsi@vger.kernel.org'

All,

Thanks a lot for the valuable feedback. The general consensus is against a
single driver for different class of controllers. This would put a strain on
our applications, which expect all the controllers to be exported from
single driver's private ioctl interface.

With multiple adapters, applications would need to open multiple handles.
This would somewhat complicate things for them. But keeping in line with
general expectations, we would fork the drivers for different class of
controllers now.

I have not yet gotten strong feelings against a single driver for lk 2.4 and
lk 2.6. If this is true, we would like to keep single driver for both
kernels - since lk 2.4 still has a big lifecycle.

For lk 2.6, the controllers would be detected PCI ordered and because of
existing lk 2.4 setups, driver would re-order the registration based on boot
controller.

Best Regards
-Atul Mukker
LSI Logic Corporation

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: [SUBJECT CHANGE]: megaraid unified driver version 2.20.0.0-al pha1
@ 2004-02-26 15:21 Mukker, Atul
  0 siblings, 0 replies; 13+ messages in thread
From: Mukker, Atul @ 2004-02-26 15:21 UTC (permalink / raw)
  To: 'Matt Domsch', 'Jeff Garzik'
  Cc: 'Christoph Hellwig', 'Arjan van de Ven',
	'James Bottomley', 'Paul Wagland', Matthew Wilcox,
	'linux-kernel@vger.kernel.org',
	'linux-scsi@vger.kernel.org'

 better name), loaded by both mptraid and megaraid automatically, which
> handles registering the /dev/megaraid node dynamically.  In this case,
> both mptraid and megaraid would register with lsiioctl for each
> adapter discovered, and lsiioctl would essentially be a switch,
> redirecting userspace tool ioctls to the appropriate driver.
This seems to me a very interesting idea and good one. We would definitely
explore this idea now and implement. Thanks Jeff, Matt.

-Atul

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: [SUBJECT CHANGE]: megaraid unified driver version 2.20.0.0-al pha1
@ 2004-03-19 22:17 Mukker, Atul
  2004-03-19 22:26 ` Matthew Wilcox
  0 siblings, 1 reply; 13+ messages in thread
From: Mukker, Atul @ 2004-03-19 22:17 UTC (permalink / raw)
  To: 'Matthew Wilcox', Mukker, Atul
  Cc: 'Arjan van de Ven', 'Christoph Hellwig',
	'James Bottomley', 'matt_domsch@dell.com',
	'Paul Wagland', 'linux-kernel@vger.kernel.org',
	'linux-scsi@vger.kernel.org'


> that you don't do things like
> 
> #if defined(__x86_64__) || defined(__ia64__)
> #endif
> 
> when you really mean
> 
> #ifdef CONFIG_COMPAT
> #endif
What does CONFIG_COMPAT do anyway? We could not find much information about
it's usage

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

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

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-25 20:38 [SUBJECT CHANGE]: megaraid unified driver version 2.20.0.0-al pha1 Mukker, Atul
2004-02-25 20:44 ` 'Christoph Hellwig'
2004-02-25 21:38   ` Matt Domsch
2004-02-26  2:27 ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2004-02-25 20:41 Mukker, Atul
2004-02-25 23:05 Mukker, Atul
2004-02-26  2:38 ` Jeff Garzik
2004-02-26  2:44 ` Matt Domsch
2004-02-26  7:43 ` Arjan van de Ven
2004-02-26  7:49   ` Jeff Garzik
2004-02-26 15:21 Mukker, Atul
2004-03-19 22:17 Mukker, Atul
2004-03-19 22:26 ` Matthew Wilcox

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