Re: [PATCH v3 1/7] block: Cleanup elevator_init_mq() use

2019-09-04 Thread Ming Lei
On Wed, Sep 04, 2019 at 05:42:41PM +0900, Damien Le Moal wrote: > Instead of checking a queue tag_set BLK_MQ_F_NO_SCHED flag before > calling elevator_init_mq() to make sure that the queue supports IO > scheduling, use the elevator.c function elv_support_iosched() in > elevator_init_mq(). This does

[PATCH v3 1/7] block: Cleanup elevator_init_mq() use

2019-09-04 Thread Damien Le Moal
Instead of checking a queue tag_set BLK_MQ_F_NO_SCHED flag before calling elevator_init_mq() to make sure that the queue supports IO scheduling, use the elevator.c function elv_support_iosched() in elevator_init_mq(). This does not introduce any functional change but ensure that elevator_init_mq()