Re: [PATCH v2 2/3] blk-ioprio: remove ioprio_blkcg_from_bio()

From: Bart Van Assche
Date: Fri Jul 19 2024 - 12:27:08 EST


On 7/18/24 7:34 PM, Yu Kuai wrote:
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.

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>