From: Jens Axboe <axboe@suse.de>
To: "Cameron, Steve" <Steve.Cameron@hp.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] 2.5.44-ac3, cciss, more scatter gather elements
Date: Fri, 25 Oct 2002 23:24:38 +0200 [thread overview]
Message-ID: <20021025212438.GH1203@suse.de> (raw)
In-Reply-To: <20021025211107.GG1203@suse.de>
On Fri, Oct 25 2002, Jens Axboe wrote:
> On Fri, Oct 25 2002, Cameron, Steve wrote:
> > Jens Axboe wrote:
> > > On Fri, Oct 25 2002, Stephen Cameron wrote:
> > > >
> > > > Add blk_rq_map_sg_one_by_one function to ll_rw_blk.c in order to allow a low
> > > > level driver to map scatter gather elements from the block subsystem one
> > > > at a time
> > [...]
> > > I have to say that I think this patch is ugly, and a complete
> > > duplicate of existing code. This is always bad, especially in the case of
> > > something not really straight forward (like blk_rq_map_sg()). A hack.
> >
> > Yes, I sort of figured you'd say that. I was just trying to get the
> > ball rolling.
>
> I was hoping that was the case and you weren't really serious :-). I've
> cut a draft version of this, it's not tested at all though to be
> careful... It should do what you want, yes? I'm not too happy with this
> one, need a bit more time to ponder.
Well no doubt that this is much cleaner. It just needs to be evaluated
for over head... It does incur an extra function call per segment
mapped. On the other hand, we save the conditional and branch. IOW, I'll
probably go with this one.
--
Jens Axboe
next prev parent reply other threads:[~2002-10-25 21:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-25 20:47 [PATCH] 2.5.44-ac3, cciss, more scatter gather elements Cameron, Steve
2002-10-25 21:11 ` Jens Axboe
2002-10-25 21:24 ` Jens Axboe [this message]
2002-10-25 21:25 ` Jens Axboe
2002-10-25 21:31 ` Jens Axboe
-- strict thread matches above, loose matches on Subject: below --
2002-10-30 20:23 Stephen Cameron
2002-10-28 23:10 Stephen Cameron
2002-10-29 7:28 ` Jens Axboe
2002-10-25 22:06 Cameron, Steve
2002-10-28 15:24 ` Jens Axboe
2002-10-25 20:00 Stephen Cameron
2002-10-25 19:59 Stephen Cameron
2002-10-25 20:24 ` Jens Axboe
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=20021025212438.GH1203@suse.de \
--to=axboe@suse.de \
--cc=Steve.Cameron@hp.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 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.