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

From: Bart Van Assche
Date: Thu Jul 11 2024 - 14:07:31 EST


On 7/11/24 2:00 AM, Yu Kuai wrote:
Currently, if config is enabled, then ioprio is always enabeld by

enabeld -> enabled

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.

Anyway:

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