From: Jens Axboe <axboe@kernel.dk>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: "linux-block@vger.kernel.org" <linux-block@vger.kernel.org>
Subject: Re: [GIT PULL] Block driver changes for 5.11
Date: Wed, 16 Dec 2020 14:17:14 -0700 [thread overview]
Message-ID: <cfceb1dc-1e14-2e83-f9ab-33c7412b8191@kernel.dk> (raw)
In-Reply-To: <CAHk-=wjRm36zBu2Vj=VyntiA9Hdc1_uFVeY93d3oYQntXzERag@mail.gmail.com>
On 12/16/20 2:13 PM, Linus Torvalds wrote:
> On Mon, Dec 14, 2020 at 7:30 AM Jens Axboe <axboe@kernel.dk> wrote:
>>
>> Note that this throws a merge conflict in drivers/md/raid10.c, again due
>> to the late md discard revert for 5.10. Resolution is straight forward,
>> __make_request() just needs to use the non-HEAD part of the resolution:
>>
>> r10_bio->read_slot = -1;
>> memset(r10_bio->devs, 0, sizeof(r10_bio->devs[0]) * conf->geo.raid_disks);
>
> What?
>
> No, that can't be right. That undoes part of the revert.
>
> The proper resolution looks to be
>
> + r10_bio->read_slot = -1;
> - memset(r10_bio->devs, 0, sizeof(r10_bio->devs[0]) *
> conf->geo.raid_disks);
> + memset(r10_bio->devs, 0, sizeof(r10_bio->devs[0]) * conf->copies);
>
> as far as I can tell.
>
> Am I missing something?
No you are right, looking at the current tree!
--
Jens Axboe
next prev parent reply other threads:[~2020-12-16 21:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-14 15:30 [GIT PULL] Block driver changes for 5.11 Jens Axboe
2020-12-16 21:13 ` Linus Torvalds
2020-12-16 21:16 ` Linus Torvalds
2020-12-16 21:17 ` Jens Axboe [this message]
2020-12-16 21:18 ` pr-tracker-bot
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=cfceb1dc-1e14-2e83-f9ab-33c7412b8191@kernel.dk \
--to=axboe@kernel.dk \
--cc=linux-block@vger.kernel.org \
--cc=torvalds@linux-foundation.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