diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-04-07 02:59:11 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-04-07 02:59:11 -0400 |
commit | 2385327725419a76cfbca7258abd95908b8ba9eb (patch) | |
tree | dee9c8167092707fbd3f1b1c5fdadc33ccf924a5 /block | |
parent | 75e50984f062de2abc4bd84c642923e2c48ce2ae (diff) |
block: remove unused REQ_UNPLUG
The request inherits the unplug flag from the bio, but it isn't actually
used. The bio flag stops at __make_request(), which tells it to unplug
after submission. Passing it on to the request doesn't make any sense.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index 3688abff2430..43fdedc524ee 100644 --- a/block/blk-core.c +++ b/block/blk-core.c | |||
@@ -1123,8 +1123,6 @@ void init_request_from_bio(struct request *req, struct bio *bio) | |||
1123 | 1123 | ||
1124 | if (bio_sync(bio)) | 1124 | if (bio_sync(bio)) |
1125 | req->cmd_flags |= REQ_RW_SYNC; | 1125 | req->cmd_flags |= REQ_RW_SYNC; |
1126 | if (bio_unplug(bio)) | ||
1127 | req->cmd_flags |= REQ_UNPLUG; | ||
1128 | if (bio_rw_meta(bio)) | 1126 | if (bio_rw_meta(bio)) |
1129 | req->cmd_flags |= REQ_RW_META; | 1127 | req->cmd_flags |= REQ_RW_META; |
1130 | if (bio_noidle(bio)) | 1128 | if (bio_noidle(bio)) |