From: Stephen Cameron <steve.cameron@hp.com>
To: linux-kernel@vger.kernel.org
Cc: arjanv@redhat.com
Subject: Re: [PATCH] cciss: add passthrough ioctl
Date: Mon, 3 Mar 2003 09:26:40 +0600 [thread overview]
Message-ID: <20030303032640.GA13102@zuul.cca.cpqcorp.net> (raw)
Arjan van de Ven (arjanv@redhat.com) wrote:
> On Mon, 2003-03-03 at 05:38, Linux Kernel Mailing List wrote:
> > ChangeSet 1.1058, 2003/03/02 20:38:36-08:00, akpm@digeo.com
> >
> > [PATCH] cciss: add passthrough ioctl
> >
> > Patch from Stephen Cameron <steve.cameron@hp.com>
> >
> > Add new big passthrough ioctl to allow large buffers. Used by e.g. onl ine
> > array controller firmware flash utility.
>
> WHY?
>
> didn't 2.5 have a generic method of doing this instead of weird per
> driver ioctls ?
>
Show me how. There are devices that may talked to through the per
driver passthrough interface which are not normally exposed to linux.
E.g. the driver presents the "logical drives" to linux. I can imagine
that these may be talked to through some generic interface because these
devices are exposed to linux (though there is still a mapping from SCSI-3
addressing to scsi-2 addressing).
But, there are the physical drives which comprise those logical volumes
(e.g. the drives which make up a mirrored logical drive or a RAID5 set
etc.) Those devices are not exposed to linux in any way. The only way
to talk to them directly (for example to upgrade firmware on them) is
thourgh this interface, Likewise for talking to the controller itself
(e.g. again to upgrade firmware for example.).
Also, we can connect external array controllers to the
internal array controller HBA, and talk to those external
controllers through this interface. (for normal disk i/o
to those external controllers, nothing special is needed as
the logical drives on those controllers are magically presented
by the firmware in the HBA as just more logical volumes.)
Examples of applications which want to use this interface:
Online array configuration utiltiy. Allows you to create new
logical drives (e.g. add new disks and actually use them, that
would be the main feature, but lots of others. e.g.: online
volume migraction (turning a raid-0 logical drive into a raid1,
or a raid 5, etc, while i/o continues.)
CIM agents, for monitoring health of physical drives, external
storage boxes, etc.
Updating firmware.
Now, you may ask the question, why the "Big" passthrough
ioctl in addition to the "regular" one that's already there.
Because, in order to flash the array controller firmware,
it's got to be done that way...
You then can ask the question why not remove the regular
passthrough ioctl than?
Because we don't want to break the apps that rely on it.
If that's not a good enough reason? Well, it's not my
kernel, who am I to say? Break what you will.
-- steve
next reply other threads:[~2003-03-03 15:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-03 3:26 Stephen Cameron [this message]
2003-03-03 15:27 ` Arjan van de Ven
2003-03-03 16:55 ` Alan Cox
[not found] <200303030506.h2356wM27352@hera.kernel.org>
2003-03-03 10:30 ` Arjan van de Ven
2003-03-03 16:17 Cameron, Steve
2003-03-03 17:48 ` Alan Cox
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=20030303032640.GA13102@zuul.cca.cpqcorp.net \
--to=steve.cameron@hp.com \
--cc=arjanv@redhat.com \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®