block/mq-deadline: Fix BLK_MQ_INSERT_AT_HEAD support
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | block/mq-deadline: Introduce dd_start_request()block/ | +14 | 2 replies | |
| 2/2 | block/mq-deadline: Switch back to a single dispatch listblock/ | +47 | 3 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Damien Le Moal |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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(-)