Unverified Commit 5b6a8b03 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!3720 blk-mq: make fair tag sharing configurable

Merge Pull Request from: @ci-robot 
 
PR sync from: Yu Kuai <yukuai3@huawei.com>
https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/WCDPGUN72BZSQPWC5LW2UNMUKBZPPZ5O/ 
Changes in v3:
 - add lockdep_assert_held() in queue_update_fair_tag_sharing()
 - use tag_set->flags instead of new field;

Changes in v2:
 - use a local variable for 'q->tag_set->disable_fair_tag_sharing' before
 iteration in queue_update_fair_tag_sharing();
 - only update fair tag sharing if blk_mq_realloc_tag_set_tags() succeed
 in __blk_mq_update_nr_hw_queues();

Yu Kuai (3):
  blk-mq: add apis to disable fair tag sharing
  scsi: core: make fair tag sharing configurable via sysfs
  scsi_lib: disable fair tag sharing by default if total tags is less
    than 128


-- 
2.39.2
 
https://gitee.com/openeuler/kernel/issues/I8RGGC 
 
Link:https://gitee.com/openeuler/kernel/pulls/3720

 

Reviewed-by: default avatarHou Tao <houtao1@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parents 983e04be 02872718
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment