From 79485501fc517214f6e84265c3f73c5777e5f158 Mon Sep 17 00:00:00 2001 From: Zhang Wensheng Date: Wed, 6 Jul 2022 07:12:38 +0000 Subject: [PATCH] block: open accurate iostat account by default hulk inclusion category: bugfix bugzilla: 187044, https://gitee.com/openeuler/kernel/issues/I5F2BY CVE: NA -------------------------------- Open accurate iostat account by default with setting the "precise_iostat = 1" when initializing. Signed-off-by: Zhang Wensheng Reviewed-by: Yu Kuai Reviewed-by: Jason Yan Signed-off-by: Yongqiang Liu --- block/blk-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-core.c b/block/blk-core.c index 219aee53a1be..bced58322fcc 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -56,7 +56,7 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(block_unplug); DEFINE_IDA(blk_queue_ida); -bool precise_iostat; +bool precise_iostat = true; static int __init precise_iostat_setup(char *str) { bool precise; -- GitLab