diff options
author | 2024-07-19 15:15:05 +0800 | |
---|---|---|
committer | 2024-07-28 16:47:51 -0600 | |
commit | d0e92795997c8dce7ec804791e359a93211f9719 (patch) | |
tree | 57500d773973aad581658627e8a7ba1e3b321173 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | blk-cgroup: check for pd_(alloc|free)_fn in blkcg_activate_policy() (diff) | |
download | wireguard-linux-d0e92795997c8dce7ec804791e359a93211f9719.tar.xz wireguard-linux-d0e92795997c8dce7ec804791e359a93211f9719.zip |
blk-ioprio: remove ioprio_blkcg_from_bio()
Currently, if config is enabled, then ioprio is always enabled by
default from blkcg_init_disk(), hence there is no point to check if
the policy is enabled from blkg in ioprio_blkcg_from_bio(). Hence remove
it and get blkcg directly from bio.
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240719071506.158075-3-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions