* Request for comment on new I2O driver
@ 2004-06-28 23:21 Markus Lidel
0 siblings, 0 replies; only message in thread
From: Markus Lidel @ 2004-06-28 23:21 UTC (permalink / raw)
To: linux-scsi
Hello,
in the last few weeks i've partly rewritten the I2O subsystem to better
suite the 2.6 kernel (sysfs support, PCI probing, dynamically allocated
request queues and gendisks for block devices, ...). Although i'm not
finished, it would be nice if someone could comment about it.
Because the patch is 500K large, it's better to view the sources online:
http://i2o.shadowconnect.com/svn/repos/kernel/trunk/drivers/message/i2o/
Login: anonymous
without a password.
The i2o_*.c files are still "old", so please skip those :-)
Any advices/comments would be appreciated, but escpecially interesting
for me would be:
- sysfs
* Is the way it is done okay?
* Is there something important missing?
* In the PCI probing function the device struct from pci_dev is simply
copied to the device struct from I2O controller. Is this okay, or is
there a better way to do it?
- interrupt handling
* are 4 (or maybe more) function calls inside an interrupt bearable
* could / should the interrupt handler put incomming data in a
workqueue?
- workqueue
* i've implemented a workqueue for event handling for each driver
(e. g. block device, tape device, ...). Is this to expensive?
- file split
* i've split the huge i2o_core into 7 smaller ones. Is there a problem
with it?
- kmalloc/mempool in request queue prep function
* i've used a kmalloc in the request queue prep. The scsi layer uses a
mempool for it. At the moment the driver only need 47k memory. But
is it better to pre-allocate the memory in this case?
Thank you very much for any advice/comment in advance.
Best regards,
Markus Lidel
------------------------------------------
Markus Lidel (Senior IT Consultant)
Shadow Connect GmbH
Carl-Reisch-Weg 12
D-86381 Krumbach
Germany
Phone: +49 82 82/99 51-0
Fax: +49 82 82/99 51-11
E-Mail: Markus.Lidel@shadowconnect.com
URL: http://www.shadowconnect.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-06-28 23:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-28 23:21 Request for comment on new I2O driver Markus Lidel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.