Skip to content

block/mq-deadline: Fix BLK_MQ_INSERT_AT_HEAD support

Bart Van Assche linux-block 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2block/mq-deadline: Introduce dd_start_request()block/mq-deadline.c+14 -82 replies
2/2block/mq-deadline: Switch back to a single dispatch listblock/mq-deadline.c+47 -603 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDamien Le Moal
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] block/mq-deadline: Fix BLK_MQ_INSERT_AT_HEAD support

Hi Jens,

Commit c807ab520fc3 ("block/mq-deadline: Add I/O priority support") modified the behavior of request flag BLK_MQ_INSERT_AT_HEAD from dispatching a request before other requests into dispatching a request before other requests with the same I/O priority. This is not correct since BLK_MQ_INSERT_AT_HEAD is used when requeuing requests and also when a flush request is inserted. Both types of requests should be dispatched as soon as possible. Hence this patch series that makes the mq-deadline I/O scheduler again ignore the I/O priority for BLK_MQ_INSERT_AT_HEAD requests.

Please consider this patch series for the next merge window.

Thanks,

Bart.

Bart Van Assche (2):
block/mq-deadline: Introduce dd_start_request() block/mq-deadline: Switch back to a single dispatch list

 block/mq-deadline.c | 129 +++++++++++++++++++++-----------------------
 1 file changed, 61 insertions(+), 68 deletions(-)