public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCHSET] io_uring: never block for block based IO submit
@ 2020-06-04 17:48 Jens Axboe
  2020-06-04 17:48 ` [PATCH 1/4] block: provide plug based way of signaling forced no-wait semantics Jens Axboe
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Jens Axboe @ 2020-06-04 17:48 UTC (permalink / raw)
  To: io-uring

We still have a case where resource starvation can cause us to block.
I've been running with a debug patch to detect cases where an io_uring
task can go uninterruptibly to sleep, and this is the main one.

This patchset provides a way for io_uring to have a holding area for
requests that should get retried, and a way to signal to the block stack
that we should be attempting to alloate requests with REQ_NOWAIT. When
we finish the block plug, we re-issue any requests that failed to get
allocated.

-- 
Jens Axboe



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

end of thread, other threads:[~2020-06-05  3:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-04 17:48 [PATCHSET] io_uring: never block for block based IO submit Jens Axboe
2020-06-04 17:48 ` [PATCH 1/4] block: provide plug based way of signaling forced no-wait semantics Jens Axboe
2020-06-04 17:48 ` [PATCH 2/4] io_uring: always plug for any number of IOs Jens Axboe
2020-06-04 17:48 ` [PATCH 3/4] io_uring: catch -EIO from buffered issue request failure Jens Axboe
2020-06-04 17:48 ` [PATCH 4/4] io_uring: re-issue plug based block requests that failed Jens Axboe
2020-06-05  3:20   ` [PATCH v2] " Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox