Commit b4d361d
blk-mq: Always insert sequential zoned writes into a software queue
One of the optimizations in the block layer is that the software queues
are bypassed if it is expected that the block driver will accept a
request. This can cause request reordering even for requests submitted
from the same CPU core. This patch preserves the order for sequential
zoned writes submitted from a given CPU core by always inserting these
requests into the appropriate software queue.
Cc: Damien Le Moal <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>1 parent 496bde7 commit b4d361d
2 files changed
Lines changed: 36 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1537 | 1537 | | |
1538 | 1538 | | |
1539 | 1539 | | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
1540 | 1561 | | |
1541 | 1562 | | |
1542 | 1563 | | |
| |||
2566 | 2587 | | |
2567 | 2588 | | |
2568 | 2589 | | |
2569 | | - | |
| 2590 | + | |
| 2591 | + | |
2570 | 2592 | | |
2571 | 2593 | | |
2572 | 2594 | | |
| |||
3215 | 3237 | | |
3216 | 3238 | | |
3217 | 3239 | | |
3218 | | - | |
| 3240 | + | |
| 3241 | + | |
3219 | 3242 | | |
3220 | 3243 | | |
3221 | 3244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1191 | 1191 | | |
1192 | 1192 | | |
1193 | 1193 | | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
1194 | 1205 | | |
0 commit comments