Re: [PATCH v4 0/4] blk-cgroup: fix blkg list and policy data races
Jens Axboe <[email protected]> Mon, 03 Aug 2026 20:17:09 -0600
| Newsgroups | org.kernel.vger.cgroups,org.kernel.vger.linux-block,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <178580982922.518281.16495429438409271117.b4-ty@b4> |
On Sun, 02 Aug 2026 19:25:16 +0800, Yu Kuai wrote:
> This set fix some problems that are reported long time ago with minimal changes,
> the blkcg_mutex refactor I'm working on can fix these problems as well, but it's
> complicated and may not land in this merge window. So I think this set should land
> in this merge window first.
>
> Patch 1 protects blkg_destroy_all()'s q->blkg_list walk with
> blkcg_mutex.
>
> [...]
Applied, thanks!
[1/4] blk-cgroup: protect q->blkg_list iteration in blkg_destroy_all() with blkcg_mutex
(no commit info)
[2/4] blk-cgroup: fix race between policy activation and blkg destruction
(no commit info)
[3/4] blk-cgroup: skip dying blkg in blkcg_activate_policy()
(no commit info)
[4/4] blk-cgroup: factor policy pd teardown loop into helper
(no commit info)
Best regards,
--
Jens Axboe