Commit 6593815
blk-mq: Move more error handling into blk_mq_submit_bio()
The error handling code in blk_mq_get_new_requests() cannot be understood
without knowing that this function is only called by blk_mq_submit_bio().
Hence move the code for handling blk_mq_get_new_requests() failures into
blk_mq_submit_bio().
Cc: Damien Le Moal <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>1 parent 44e4138 commit 6593815
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2984 | 2984 | | |
2985 | 2985 | | |
2986 | 2986 | | |
2987 | | - | |
2988 | | - | |
2989 | | - | |
2990 | | - | |
2991 | | - | |
2992 | | - | |
| 2987 | + | |
| 2988 | + | |
| 2989 | + | |
2993 | 2990 | | |
2994 | 2991 | | |
2995 | 2992 | | |
| |||
3129 | 3126 | | |
3130 | 3127 | | |
3131 | 3128 | | |
3132 | | - | |
| 3129 | + | |
| 3130 | + | |
| 3131 | + | |
3133 | 3132 | | |
| 3133 | + | |
3134 | 3134 | | |
3135 | 3135 | | |
3136 | 3136 | | |
| |||
0 commit comments