Messages in this thread Patch in this message |  | | | From | Tejun Heo <> | | Subject | [PATCH 04/14] block: cleanup REQ_SOFTBARRIER usages | | Date | Wed, 22 Apr 2009 01:37:51 +0900 |
| |
blk_insert_request() doesn't need to worry about REQ_SOFTBARRIER. Don't set it. Combined with recent ide updates, REQ_SOFTBARRIER is now only used in elevator proper and for discard requests.
[ Impact: cleanup ]
Signed-off-by: Tejun Heo <tj@kernel.org> --- block/blk-core.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/block/blk-core.c b/block/blk-core.c index bcc85ec..c632e6d 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -944,7 +944,6 @@ void blk_insert_request(struct request_queue *q, struct request *rq, * barrier */ rq->cmd_type = REQ_TYPE_SPECIAL; - rq->cmd_flags |= REQ_SOFTBARRIER; rq->special = data; -- 1.6.0.2
|  |