Skip to content

Change the default loop driver I/O scheduler

Bart Van Assche linux-block 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v23 patches 13 repliesSuperseded

Changes in v3 from the cover letter

- Dropped the patch that makes the loop driver queue depth configurable via a kernel module parameter.
- Added a q->tag_set test in patch 1/2. Although I'm not sure this test is still needed after Christoph's latest queue creation rework, it doesn't harm.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2blk-mq: Introduce the BLK_MQ_F_NO_SCHED_BY_DEFAULT flagblock/elevator.c include/linux/blk-mq.h+9 -00 replies
2/2loop: Select I/O scheduler 'none' from inside add_disk()drivers/block/loop.c+2 -10 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/2] Change the default loop driver I/O scheduler

Hi Jens,

The two patches in this patch series change the default I/O scheduler of request queues created by the loop driver from 'mq-deadline' into 'none'. Please consider these two patches for inclusion in the Linux kernel.

Thanks,

Bart.

Changes compared to v2:
- Dropped the patch that makes the loop driver queue depth configurable via a kernel module parameter.
- Added a q->tag_set test in patch 1/2. Although I'm not sure this test is still needed after Christoph's latest queue creation rework, it doesn't harm.

Changes compared to v1:
- Introduced BLK_MQ_F_NO_SCHED_BY_DEFAULT and use it in the loop driver.
- Removed BLK_MQ_F_NO_SCHED again from the loop driver.

Bart Van Assche (2):
blk-mq: Introduce the BLK_MQ_F_NO_SCHED_BY_DEFAULT flag
loop: Select I/O scheduler 'none' from inside add_disk()

 block/elevator.c       | 3 +++
 drivers/block/loop.c   | 3 ++-
 include/linux/blk-mq.h | 6 ++++++
 3 files changed, 11 insertions(+), 1 deletion(-)