loop: nowait aio bug fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 0 repliesNew
- v23 patches 0 repliesSuperseded
- v13 patches 0 repliesSuperseded
Changes in v3 from the cover letter
- don't disable rqos
- add BD_LOWLEVEL_BIO_FIRST flag for loop to submit lowlevel bios first
- improves blk_mq_flush_plug_list() to accept new request added from ->queue_rq()
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | loop: move kiocb_start_write to aio prep phasedrivers/ | +5 | 0 replies | |
| 2/4 | loop: fix error handling in aio functionsdrivers/ | +2 | 0 replies | |
| 3/4 | loop: fix NOWAIT io hang by introducing BD_LOWLEVEL_BIO_FIRSTblock/ drivers/ include/ | +15 | 0 replies | |
| 4/4 | blk-mq: fix plug list corruption when queue_rq adds new requestsblock/ | +48 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH V3 0/4] loop: nowait aio bug fixes
Hi Jens,
The 1st two patches fix error handling code paths for nowait aio.
The 3rd patch fixes IO hang issue because of rqos throttle.
The last patch improves blk_mq_flush_plug_list() to support new request added to plug list from ->queue_rq().
Tests:
- not observe regression on xfstests
- not observe performance regression on nvme polling/irq test
V3:
- don't disable rqos
- add BD_LOWLEVEL_BIO_FIRST flag for loop to submit lowlevel bios first
- improves blk_mq_flush_plug_list() to accept new request added from ->queue_rq()
V2:
- use QUEUE_FLAG_DISABLE_WBT_DEF to disable wbt, so that check of QUEUE_FLAG_QOS_ENABLED can work as expected
Ming Lei (4):
loop: move kiocb_start_write to aio prep phase
loop: fix error handling in aio functions
loop: fix NOWAIT io hang by introducing BD_LOWLEVEL_BIO_FIRST
blk-mq: fix plug list corruption when queue_rq adds new requests
block/blk-core.c | 3 +- block/blk-mq.c | 64 +++++++++++++++++++++++++++++---------- drivers/block/loop.c | 27 ++++++++++++----- include/linux/blk_types.h | 1 + 4 files changed, 70 insertions(+), 25 deletions(-)
Signature · 1 line
2.47.0