Ming Lei 81ea1222f2 Revert "block: Merge bio before checking ->cached_rq"
This reverts commit 23f3e3272e7a4d9fb870485cd6df1e4f9539282c.

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: 23f3e3272e7a ("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>
2023-04-20 06:54:17 -06:00
..
2023-02-02 22:33:34 -08:00
2023-02-20 14:27:21 -08:00
2023-03-03 10:21:39 -08:00
2023-02-20 14:27:21 -08:00
2022-12-13 10:43:59 -08:00
2023-03-03 10:21:39 -08:00
2022-12-16 03:54:54 -08:00
2022-02-02 07:49:59 -07:00
2022-03-07 12:48:35 -07:00