All of lore.kernel.org
 help / color / mirror / Atom feed
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:31:45 +0200	[thread overview]
Message-ID: <20021025213145.GH12628@suse.de> (raw)
In-Reply-To: <20021025212512.GI1203@suse.de>

On Fri, Oct 25 2002, Jens Axboe wrote:
>  			} else {
>  new_segment:
> -				memset(&sg[nsegs],0,sizeof(struct scatterlist));
> -				sg[nsegs].page = bvec->bv_page;
> -				sg[nsegs].length = nbytes;
> -				sg[nsegs].offset = bvec->bv_offset;
> -
> +				sg.page = bvec->bv_page;
> +				sg.offset = bvec->bv_offset;
> +				sg.length = nbytes;
> +				map(q, &sg, nsegs, cookie);
				if (sgprev)
					map(q, sgprev, nsegs, cookie);

of course, and likewise for the cluster check. I'll cut a clean version
tomorrow, I'm out for today..

-- 
Jens Axboe


  reply	other threads:[~2002-10-25 21:25 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
2002-10-25 21:25     ` Jens Axboe
2002-10-25 21:31       ` Jens Axboe [this message]
  -- 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=20021025213145.GH12628@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.