diff options
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-core.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index 7e1523521c7..da697936d22 100644 --- a/block/blk-core.c +++ b/block/blk-core.c | |||
@@ -1276,7 +1276,6 @@ out: | |||
1276 | 1276 | ||
1277 | void init_request_from_bio(struct request *req, struct bio *bio) | 1277 | void init_request_from_bio(struct request *req, struct bio *bio) |
1278 | { | 1278 | { |
1279 | req->cpu = bio->bi_comp_cpu; | ||
1280 | req->cmd_type = REQ_TYPE_FS; | 1279 | req->cmd_type = REQ_TYPE_FS; |
1281 | 1280 | ||
1282 | req->cmd_flags |= bio->bi_rw & REQ_COMMON_MASK; | 1281 | req->cmd_flags |= bio->bi_rw & REQ_COMMON_MASK; |
@@ -1362,8 +1361,7 @@ get_rq: | |||
1362 | */ | 1361 | */ |
1363 | init_request_from_bio(req, bio); | 1362 | init_request_from_bio(req, bio); |
1364 | 1363 | ||
1365 | if (test_bit(QUEUE_FLAG_SAME_COMP, &q->queue_flags) || | 1364 | if (test_bit(QUEUE_FLAG_SAME_COMP, &q->queue_flags)) |
1366 | bio_flagged(bio, BIO_CPU_AFFINE)) | ||
1367 | req->cpu = raw_smp_processor_id(); | 1365 | req->cpu = raw_smp_processor_id(); |
1368 | 1366 | ||
1369 | plug = current->plug; | 1367 | plug = current->plug; |