Hi, The 1st patch adds one helper of blk_default_io_timeout(). The 2nd patch adds blk_io_schedule for prevent task hung from being triggered in sync dio. Ming Lei (2): block: add blk_default_io_timeout() for avoiding task hung in sync IO block: add blk_io_schedule() for avoiding task hung in sync dio block/bio.c | 9 +++------ block/blk-exec.c | 8 +++----- fs/block_dev.c | 4 ++-- fs/direct-io.c | 2 +- fs/iomap/direct-io.c | 2 +- include/linux/blkdev.h | 16 ++++++++++++++++ 6 files changed, 26 insertions(+), 15 deletions(-) Cc: Salman Qazi <sqazi@xxxxxxxxxx> Cc: Jesse Barnes <jsbarnes@xxxxxxxxxx> Cc: Christoph Hellwig <hch@xxxxxx> Cc: Bart Van Assche <bvanassche@xxxxxxx> -- 2.25.2