linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Song Liu <song@kernel.org>
To: Zhao Heming <heming.zhao@suse.com>
Cc: linux-raid <linux-raid@vger.kernel.org>,
	Guoqing Jiang <guoqing.jiang@cloud.ionos.com>
Subject: Re: [PATCH v2 1/2] [md/bitmap] md_bitmap_read_sb uses wrong bitmap blocks
Date: Wed, 7 Oct 2020 23:35:50 -0700	[thread overview]
Message-ID: <CAPhsuW4Uc84EzjfuGZ+FjRtkX3_AhKA8rYTsB+HpDiGPnGEBmQ@mail.gmail.com> (raw)
In-Reply-To: <1601913624-27840-1-git-send-email-heming.zhao@suse.com>

On Mon, Oct 5, 2020 at 9:02 AM Zhao Heming <heming.zhao@suse.com> wrote:
>
> The patched code is used to get chunks number, should use
> round-up div to replace current sector_div.
> The same code is in md_bitmap_resize():
> ```
> chunks = DIV_ROUND_UP_SECTOR_T(blocks, 1 << chunkshift);
> ```
>
> Signed-off-by: Zhao Heming <heming.zhao@suse.com>

Applied both patches to md-next.

Thanks,
Song

      parent reply	other threads:[~2020-10-08  6:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-05 16:00 [PATCH v2 1/2] [md/bitmap] md_bitmap_read_sb uses wrong bitmap blocks Zhao Heming
2020-10-05 16:00 ` [PATCH v2 2/2] [md/bitmap] md_bitmap_get_counter returns wrong blocks Zhao Heming
2020-10-08  6:35 ` Song Liu [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=CAPhsuW4Uc84EzjfuGZ+FjRtkX3_AhKA8rYTsB+HpDiGPnGEBmQ@mail.gmail.com \
    --to=song@kernel.org \
    --cc=guoqing.jiang@cloud.ionos.com \
    --cc=heming.zhao@suse.com \
    --cc=linux-raid@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;
as well as URLs for NNTP newsgroup(s).