diff options
author | Shaohua Li <shli@fb.com> | 2015-05-08 10:51:31 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-05-08 14:17:19 -0600 |
commit | 239ad215f0d8388cbe6c09a0fab8ad8ff5dba420 (patch) | |
tree | d1525efb74bed517f68017891a0f2ed6bae60bea /kernel/fork.c | |
parent | e6c4438ba7cb615448492849970aaf0aaa1cc973 (diff) | |
download | linux-239ad215f0d8388cbe6c09a0fab8ad8ff5dba420.tar.gz linux-239ad215f0d8388cbe6c09a0fab8ad8ff5dba420.tar.bz2 linux-239ad215f0d8388cbe6c09a0fab8ad8ff5dba420.zip |
blk-mq: avoid re-initialize request which is failed in direct dispatch
If we directly issue a request and it fails, we use
blk_mq_merge_queue_io(). But we already assigned bio to a request in
blk_mq_bio_to_request. blk_mq_merge_queue_io shouldn't run
blk_mq_bio_to_request again.
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions