diff options
author | 2024-12-18 13:22:46 -0800 | |
---|---|---|
committer | 2025-01-14 10:13:25 -0700 | |
commit | 659381520a3b13403c3051516317adc02e48259b (patch) | |
tree | 798ce987bfb7e50039c96e87eba6ebf14009ddae /scripts/generate_rust_analyzer.py | |
parent | block: Reorder the request allocation code in blk_mq_submit_bio() (diff) | |
download | wireguard-linux-659381520a3b13403c3051516317adc02e48259b.tar.xz wireguard-linux-659381520a3b13403c3051516317adc02e48259b.zip |
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>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions