summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2026-01-26 15:36:22 +0100
committerMikulas Patocka <mpatocka@redhat.com>2026-01-26 15:36:22 +0100
commit2df8b310bcfe76827fd71092f58a2493ee6590b0 (patch)
tree2321ef73e5ce47090026551ecedd6472b83c62c4 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parentd6d0e6b9d54532264761405a1ba8ea5bd293acb1 (diff)
dm: use bio_clone_blkg_association
The origin bio carries blk-cgroup information which could be set from foreground(task_css(css) - wbc->wb->blkcg_css), so the blkcg won't control buffer io since commit ca522482e3eaf ("dm: pass NULL bdev to bio_alloc_clone"). The synchronous io is still under control by blkcg, because 'bio->bi_blkg' is set by io submitting task which has been added into 'cgroup.procs'. Fix it by using bio_clone_blkg_association when submitting a cloned bio. Link: https://bugzilla.kernel.org/show_bug.cgi?id=220985 Fixes: ca522482e3eaf ("dm: pass NULL bdev to bio_alloc_clone") Reported-by: Zhihao Cheng <chengzhihao1@huawei.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Tested-by: Zhihao Cheng <chengzhihao1@huawei.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions