Thread (4 messages) flat view 4 messages, 2 authors, 2021-08-05
STALE1838d

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

From: Bart Van Assche <bvanassche@acm.org>
Date: 2021-08-05 17:42:09

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(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help