From: Andre Hedrick <andre@linux-ide.org>
To: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: Jeremy Jackson <jerj@coplanar.net>, linux-kernel@vger.kernel.org
Subject: Re: linux kernel IDE development process question
Date: Sat, 29 Mar 2003 21:58:48 -0800 (PST) [thread overview]
Message-ID: <Pine.LNX.4.10.10303292154361.5484-100000@master.linux-ide.org> (raw)
In-Reply-To: <Pine.SOL.4.30.0303291815560.27420-100000@mion.elka.pw.edu.pl>
Bart,
When you do, let me know.
I would like to suggest how to decouple the hwgroup in general but not
lose it because of a need to sync the iops during setup and hba recovery.
The dirt on why it has to be done is not public per NDA's, but this will
help the driver. Additionally, movement to create hwif->queue for
load-balance and threading of the channel IO is a must now. As SATA
arrives in bulk, their will be more effective hwif's per hba and the
rules for assignment must change.
Cheers,
On Sat, 29 Mar 2003, Bartlomiej Zolnierkiewicz wrote:
>
> Hey,
>
> On 29 Mar 2003, Jeremy Jackson wrote:
>
> > Hello IDE people,
> >
> > I'd like to get input from everyone involved in drivers/ide/ on the
> > current development process.
> >
> > I would like to know what code is kept in sync between 2.4/2.5
> > (2.2/2.0?). This way I can start by understanding what is already being
> > done. This is related to the recent "hdparm and removable IDE?" thread
> > on LKML.
> >
> > I would like to start by declaring ide_hwifs[] static, and removing the
> > extern ide_hwifs from ide.h. all references to ide_hwifs[] will be
> > converted to macros and/or access method functions, that return a
> > pointer to a particular ide_hwifs_t. for_each_hwif() and replacements
> > for whatever else is in use will be provided as well, initially just
> > doing the same thing that is done now, ie iterating through ide_hwifs[].
>
> Yes, I've been thinking about this recently and I think this is the way to
> go.
>
> > There's more to my plan, that's just to get the discussion going. I
> > will only address what can be easily merged into all currently supported
> > kernel trees, I just need to know what they are.
>
> If it will be merged any time soon you may call yourself lucky :-).
>
> > by creating a new file ide-kernel.[ch], and moving the ide_hwifs[] and
> > accessor functions to it, each kernel tree can implement it differently
> > without complicating backports for the common stuff. Initially the
> > changes will *not* alter any behaviour, just jockeying stuff into place
>
> You should just commit changes to 2.5 and later port it to 2.4.
>
> > to make that painless when the time comes. (think about it: if the
> > access methods return pointers, who's going to notice when ide_hwifs[]
> > is replaced with a linked list?)
>
> Yep, but probably there will be some problems in transition.
>
> > My motivation: I'd *really* like to be able to sell entry level PC
> > servers with hotswap raid1. I'm not in a hurry, baby steps are ok, I
> > just want to get the ball rolling. It's all negotiable. I'm no expert
> > here.
> >
> > Regards,
> >
> > Jeremy
> > --
> > Jeremy Jackson <jerj@coplanar.net>
>
> Regards
> --
> Bartlomiej Zolnierkiewicz
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
Andre Hedrick
LAD Storage Consulting Group
next prev parent reply other threads:[~2003-03-30 5:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-29 16:28 Jeremy Jackson
2003-03-29 17:24 ` Bartlomiej Zolnierkiewicz
2003-03-30 5:58 ` Andre Hedrick [this message]
2003-03-30 15:51 ` 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=Pine.LNX.4.10.10303292154361.5484-100000@master.linux-ide.org \
--to=andre@linux-ide.org \
--cc=B.Zolnierkiewicz@elka.pw.edu.pl \
--cc=jerj@coplanar.net \
--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®