Commit 81ea122
Revert "block: Merge bio before checking ->cached_rq"
This reverts commit 23f3e32.
blk-mq sched bio merge still needs request to grab queue usage counter,
so we can't simply call blk_mq_attempt_bio_merge() when queue usage
counter isn't held.
Fixes: 23f3e32 ("block: Merge bio before checking ->cached_rq")
Cc: Xiao Ni <xni@redhat.com>
Reported-by: Yi Zhang <yi.zhang@redhat.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20230420112018.1108058-1-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent f7ca1ae commit 81ea122
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2878 | 2878 | | |
2879 | 2879 | | |
2880 | 2880 | | |
| 2881 | + | |
| 2882 | + | |
| 2883 | + | |
2881 | 2884 | | |
2882 | 2885 | | |
2883 | 2886 | | |
2884 | 2887 | | |
2885 | 2888 | | |
2886 | 2889 | | |
2887 | | - | |
2888 | | - | |
2889 | | - | |
2890 | | - | |
2891 | 2890 | | |
2892 | 2891 | | |
2893 | 2892 | | |
| |||
0 commit comments