aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorYu Kuai <[email protected]>2024-07-19 15:15:06 +0800
committerJens Axboe <[email protected]>2024-07-28 16:47:51 -0600
commit79c6c60a6c1f5128b31ab80b7ac1c4d8255342ac (patch)
treeb8bef8b9ffeb07d84bfe0f8b8e7c36f9aa2556f5 /lib/memory-notifier-error-inject.c
parentd0e92795997c8dce7ec804791e359a93211f9719 (diff)
blk-ioprio: remove per-disk structure
ioprio works on the blk-cgroup level, all disks in the same cgroup are the same, and the struct ioprio_blkg doesn't have anything in it. Hence register the policy is enough, because cpd_alloc/free_fn will be handled for each blk-cgroup, and there is no need to activate the policy for disk. Hence remove blk_ioprio_init/exit and ioprio_alloc/free_pd. Signed-off-by: Yu Kuai <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Acked-by: Tejun Heo <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions