[PATCH for-6.12 0/7] block, bfq: bfqq merge chain fixes and cleanup
From: Yu Kuai
Date: Mon Sep 09 2024 - 09:44:22 EST
From: Yu Kuai <yukuai3@xxxxxxxxxx>
Patch 1 fixes a problem found by xfstests generic/323, tested on scsi
disk with bfq.
Patch 2 fixes a problem while digging the above problem, by a debug patch
to print procress reference.
Patch 3-7 are cleanups while reviewing code.
Yu Kuai (7):
block, bfq: fix uaf for accessing waker_bfqq after splitting
block, bfq: fix procress reference leakage for bfqq in merge chain
block, bfq: merge bfq_release_process_ref() into bfq_put_cooperator()
block, bfq: remove bfq_log_bfqg()
block, bfq: remove local variable 'split' in bfq_init_rq()
block, bfq: remove local variable 'bfqq_already_existing' in
bfq_init_rq()
block, bfq: factor out a helper to split bfqq in bfq_init_rq()
block/bfq-cgroup.c | 1 -
block/bfq-iosched.c | 191 ++++++++++++++++++++++++--------------------
block/bfq-iosched.h | 6 --
3 files changed, 103 insertions(+), 95 deletions(-)
--
2.39.2