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

!13894 v2 block: support hierarchy stats

Merge Pull Request from: @ci-robot 
 
PR sync from: Yu Kuai <yukuai3@huawei.com>
https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/LSOX5OYN6M6KL6TR3E53GF5IZHKDXA7N/ 
Jens Axboe (5):
  block: move cgroup time handling code into blk.h
  block: add blk_time_get_ns() and blk_time_get() helpers
  block: cache current nsec time in struct blk_plug
  block: update cached timestamp post schedule/preemption
  block: limit block time caching to in_task() context

Kundan Kumar (1):
  block: skip QUEUE_FLAG_STATS and rq-qos for passthrough io

Yu Kuai (20):
  blk-io-hierarchy: support hierarchy stats for blk-throttle
  block: fix that blk_time_get_ns() doesn't update time after schedule
  block: fix kabi broken after caching ns time in blk_plug
  block: support to recored bio allocation time
  block: support to recored bio allocation task
  block: support to recored bio allocation time in request
  block: support to recored bio allocation task in request
  block: support to record when request is completed
  block-io-hierarchy: core hierarchy stats and iodump implementation
  blk-io-hierarchy: support new bio based stage wbt
  blk-io-hierarchy: support new bio based stage iocost
  blk-io-hierarchy: support new bio based stage gettag
  blk-io-hierarchy: support new rq based stage plug
  blk-io-hierarchy: support new rq based stage mq-deadline
  blk-io-hierarchy: support new rq based stage bfq
  blk-io-hierarchy: support new rq based stage kyber
  blk-io-hierarchy: support new rq based stage hctx
  blk-io-hierarchy: support new rq based stage requeue
  blk-io-hierarchy: support new rq based stage rq_driver
  blk-io-hierarchy: support hierarchy stats for bio lifetime


-- 
2.39.2
 
https://gitee.com/openeuler/release-management/issues/IB4E8P 
 
Link:https://gitee.com/openeuler/kernel/pulls/13894

 

Reviewed-by: default avatarzhangyi (F) <yi.zhang@huawei.com>
Reviewed-by: default avatarLiu Chao <liuchao173@huawei.com>
Signed-off-by: default avatarZhang Peng <zhangpeng362@huawei.com>
parents ca2555dd 67e0c687
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -956,6 +956,7 @@ CONFIG_BLK_DEBUG_FS_ZONED=y
CONFIG_BLK_DEV_DETECT_WRITING_PART0=y
CONFIG_BLK_DEV_WRITE_MOUNTED_DUMP=y
CONFIG_BLK_IO_HUNG_TASK_CHECK=y
# CONFIG_BLK_IO_HIERARCHY_STATS is not set

#
# Partition Types
+1 −0
Original line number Diff line number Diff line
@@ -679,6 +679,7 @@ CONFIG_BLK_DEV_THROTTLING=y
CONFIG_BLK_DEBUG_FS=y
# CONFIG_BLK_SED_OPAL is not set
# CONFIG_BLK_INLINE_ENCRYPTION is not set
# CONFIG_BLK_IO_HIERARCHY_STATS is not set

#
# Partition Types
+1 −0
Original line number Diff line number Diff line
@@ -646,6 +646,7 @@ CONFIG_BLK_INLINE_ENCRYPTION=y
CONFIG_BLK_INLINE_ENCRYPTION_FALLBACK=y
# CONFIG_BLK_DEV_DETECT_WRITING_PART0 is not set
# CONFIG_BLK_DEV_WRITE_MOUNTED_DUMP is not set
# CONFIG_BLK_IO_HIERARCHY_STATS is not set

#
# Partition Types
+1 −0
Original line number Diff line number Diff line
@@ -988,6 +988,7 @@ CONFIG_BLK_DEBUG_FS_ZONED=y
CONFIG_BLK_DEV_DETECT_WRITING_PART0=y
CONFIG_BLK_DEV_WRITE_MOUNTED_DUMP=y
CONFIG_BLK_IO_HUNG_TASK_CHECK=y
# CONFIG_BLK_IO_HIERARCHY_STATS is not set

#
# Partition Types
+7 −0
Original line number Diff line number Diff line
@@ -36,6 +36,12 @@ config BLOCK_LEGACY_AUTOLOAD
	  created on demand, but scripts that manually create device nodes and
	  then call losetup might rely on this behavior.

config BLK_BIO_ALLOC_TIME
	bool

config BLK_BIO_ALLOC_TASK
	bool

config BLK_RQ_ALLOC_TIME
	bool

@@ -275,6 +281,7 @@ config BLK_IO_HUNG_TASK_CHECK
	  if this is set, hungtask will complain about slow io even if such
	  io is not hanged. Be careful to enable hungtask panic in this case.

source "block/blk-io-hierarchy/Kconfig"
source "block/partitions/Kconfig"

config BLK_MQ_PCI
Loading