diff options
Diffstat (limited to 'block/blk-core.c')
-rw-r--r-- | block/blk-core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index c4198f083e5b..25572802dac2 100644 --- a/block/blk-core.c +++ b/block/blk-core.c | |||
@@ -1128,6 +1128,8 @@ void init_request_from_bio(struct request *req, struct bio *bio) | |||
1128 | req->cmd_flags |= REQ_UNPLUG; | 1128 | req->cmd_flags |= REQ_UNPLUG; |
1129 | if (bio_rw_meta(bio)) | 1129 | if (bio_rw_meta(bio)) |
1130 | req->cmd_flags |= REQ_RW_META; | 1130 | req->cmd_flags |= REQ_RW_META; |
1131 | if (bio_noidle(bio)) | ||
1132 | req->cmd_flags |= REQ_NOIDLE; | ||
1131 | 1133 | ||
1132 | req->errors = 0; | 1134 | req->errors = 0; |
1133 | req->hard_sector = req->sector = bio->bi_sector; | 1135 | req->hard_sector = req->sector = bio->bi_sector; |