public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Ming Lei <ming.lei@redhat.com>
Cc: linux-block@vger.kernel.org
Subject: Re: [PATCH] block: fix mp_bvec_for_each_page
Date: Thu, 28 Feb 2019 05:56:19 -0700	[thread overview]
Message-ID: <fafa4b89-97bb-42ea-8659-1ec141b625b5@kernel.dk> (raw)
In-Reply-To: <20190228122927.3495-1-ming.lei@redhat.com>

On 2/28/19 5:29 AM, Ming Lei wrote:
> mp_bvec_for_each_page() may miss the 1st page in case that the bvec
> ends before last byte of the 1st PAGE.
> 
> So fix it by checking against the last page.

Thanks, I just folded this in.

-- 
Jens Axboe


      reply	other threads:[~2019-02-28 12:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-28 12:29 [PATCH] block: fix mp_bvec_for_each_page Ming Lei
2019-02-28 12:56 ` Jens Axboe [this message]

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=fafa4b89-97bb-42ea-8659-1ec141b625b5@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=linux-block@vger.kernel.org \
    --cc=ming.lei@redhat.com \
    /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