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 <dlemoal@kernel.org>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20241218212246.1073149-3-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 44e4138 commit 6593815
1 file changed
Lines changed: 7 additions & 7 deletions
| 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