+9
−0
+1
−1
+12
−1
+1
−1
+1
−0
Loading
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IAAQ73 -------------------------------- Because slow io or io timeout handler can take a long time, hungtask check is forbidden in order to prevent false positive warnings. However, this also cause kenel to be silence if io really hang. It's quite complicated to distinguish if io is slow or hanged, this patch add a switch to enable hungtask check, the switch is enabled by default, and can be turn off by: 1) disable config BLK_IO_HUNG_TASK_CHECK 2) add blk_core.io_hung_task_check=0 to boot cmd 3) echo 0 > /sys/module/blk_core/parameters/io_hung_task_check Noted that user has to be careful to use this with hungtask panic enabeld, since there could be false positive hungtask warnings. Signed-off-by:Yu Kuai <yukuai3@huawei.com> Fixes: 4b197769 ("block: Prevent hang_check firing during long I/O") Fixes: e6249cdd ("block: add blk_io_schedule() for avoiding task hung in sync dio") Fixes: de6a78b6 ("block: Prevent hung_check firing during long sync IO") Signed-off-by:
Li Lingfeng <lilingfeng3@huawei.com>