From: Markus Lidel <Markus.Lidel@shadowconnect.com>
To: linux-scsi@vger.kernel.org
Subject: Request for comment on new I2O driver
Date: Tue, 29 Jun 2004 01:21:30 +0200 [thread overview]
Message-ID: <40E0A7FA.4050208@shadowconnect.com> (raw)
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
reply other threads:[~2004-06-28 23:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40E0A7FA.4050208@shadowconnect.com \
--to=markus.lidel@shadowconnect.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.