From: Jens Axboe <axboe@kernel.dk>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: "linux-block@vger.kernel.org" <linux-block@vger.kernel.org>,
Paolo Valente <paolo.valente@linaro.org>
Subject: Re: [GIT PULL for-6.3] Block updates for 6.3
Date: Tue, 21 Feb 2023 20:48:31 -0700 [thread overview]
Message-ID: <02bde1b9-daa0-132d-605c-62793382ece6@kernel.dk> (raw)
In-Reply-To: <CAHk-=wimXoc_vsdfzVKAu6cHd_M1U3d5Dxtib1U4JdXMNUxLoQ@mail.gmail.com>
On 2/21/23 6:07?PM, Linus Torvalds wrote:
> On Tue, Feb 21, 2023 at 4:03 PM Jens Axboe <axboe@kernel.dk> wrote:
>>
>> I'll double check it. The merge doesn't end up touching any of
>> bfq_sync_bfqq_move()
>
> It absolutely does.
>
> Or rather - your merge doesn't end up touching it, and I claim that's
> exactly the problem.
>
> My merge *does* touch it, and I think my merge is the right thing to do..
>
>> just conflicting with:
>>
>> bfq_check_ioprio_change(), where the release ordering should be upheld,
>
> That's the trivial case.
>
> But:
>
>> __bfq_bic_change_cgroup(), where it's still done after assigning the
>> async_bfqq.
>
> No.
>
> That's where bfq_sync_bfqq_move() *comes* from. See commit
> 9778369a2d6c ("block, bfq: split sync bfq_queues on a per-actuator
> basis").
>
> The whole bfq_sync_bfqq_move() function didn't exist at all in the
> tree that fixed the bfq_release_process_ref() ordering.
>
> It was split out of the __bfq_bic_change_cgroup() code, so the change
> to __bfq_bic_change_cgroup() needed to now instead be done in that
> bfq_sync_bfqq_move() code.
Yep I'm being dense, you're totally right and your merge is the right
one.
--
Jens Axboe
next prev parent reply other threads:[~2023-02-22 3:48 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-17 2:54 [GIT PULL for-6.3] Block updates for 6.3 Jens Axboe
2023-02-17 19:23 ` Jens Axboe
2023-02-20 23:00 ` pr-tracker-bot
2023-02-20 22:52 ` Linus Torvalds
2023-02-21 6:39 ` Yu Kuai
2023-02-21 8:29 ` [PATCH] block, bfq: free 'sync_bfqq' after bic_set_bfqq() in bfq_sync_bfqq_move() Yu Kuai
2023-02-21 9:14 ` Damien Le Moal
2023-02-21 9:35 ` Yu Kuai
2023-02-22 0:04 ` Jens Axboe
2023-02-22 0:03 ` [GIT PULL for-6.3] Block updates for 6.3 Jens Axboe
2023-02-22 1:07 ` Linus Torvalds
2023-02-22 3:48 ` Jens Axboe [this message]
2023-02-20 23:00 ` 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=02bde1b9-daa0-132d-605c-62793382ece6@kernel.dk \
--to=axboe@kernel.dk \
--cc=linux-block@vger.kernel.org \
--cc=paolo.valente@linaro.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