Skip to content

RFC block: allow REQ_NOWAIT to some bio-based/stacked devices

Konstantin Khlebnikov dm-devel linux-block linux-raid lkml 1 version In review

Get series with b4
b4 am 159101473169.180989.12175693728191972447.stgit@buzz

Versions newest first

  1. v1 RFC Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3block: add flag 'nowait_requests' into queue limitsblock/blk-core.c block/blk-mq.c block/blk-settings.c +1 more+9 -22 replies
2/3md/raid0: enable REQ_NOWAITdrivers/md/raid0.c+3 -00 replies
3/3dm: add support for REQ_NOWAIT and enable for target dm-lineardrivers/md/dm-linear.c drivers/md/dm-table.c drivers/md/dm.c +1 more+15 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RFC 0/3] block: allow REQ_NOWAIT to some bio-based/stacked devices

Here is pretty straight forward attempt of handling REQ_NOWAIT for bio-based and stacked devices.

They are marked with flag queue->limits.nowait_requests which tells that queue method make_request() handles REQ_NOWAIT or doesn't delay requests, and all backend devices do the same.

As a example second/third patches add support into md-raid0 and dm-linear.

---

Konstantin Khlebnikov (3):
block: add flag 'nowait_requests' into queue limits md/raid0: enable REQ_NOWAIT
dm: add support for REQ_NOWAIT and enable for target dm-linear

 drivers/md/dm-linear.c        | 5 +++--
 drivers/md/dm-table.c         | 3 +++
 drivers/md/dm.c               | 4 +++-
 drivers/md/raid0.c            | 3 +++
 include/linux/device-mapper.h | 6 ++++++
 5 files changed, 18 insertions(+), 3 deletions(-)

--
Signature