All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] block: prevent task hung from being triggered in sync dio
@ 2020-04-28  7:46 Ming Lei
  2020-04-28  7:46 ` [PATCH 1/2] block: add blk_default_io_timeout() for avoiding task hung in sync IO Ming Lei
  2020-04-28  7:46 ` [PATCH 2/2] block: add blk_io_schedule() for avoiding task hung in sync dio Ming Lei
  0 siblings, 2 replies; 9+ messages in thread
From: Ming Lei @ 2020-04-28  7:46 UTC (permalink / raw)
  To: Jens Axboe
  Cc: linux-block, Ming Lei, Salman Qazi, Jesse Barnes,
	Christoph Hellwig, Bart Van Assche

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@google.com>
Cc: Jesse Barnes <jsbarnes@google.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Bart Van Assche <bvanassche@acm.org>


-- 
2.25.2


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-05-03  1:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-28  7:46 [PATCH 0/2] block: prevent task hung from being triggered in sync dio Ming Lei
2020-04-28  7:46 ` [PATCH 1/2] block: add blk_default_io_timeout() for avoiding task hung in sync IO Ming Lei
2020-04-28  8:05   ` Hannes Reinecke
2020-04-28  8:30     ` Ming Lei
2020-04-28 14:19   ` Bart Van Assche
2020-04-29  1:17     ` Ming Lei
2020-04-30  3:08       ` Bart Van Assche
2020-05-03  1:43         ` Ming Lei
2020-04-28  7:46 ` [PATCH 2/2] block: add blk_io_schedule() for avoiding task hung in sync dio Ming Lei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.