From: Tejun Heo Date: Thu, 23 Apr 2009 02:05:18 +0000 (+0900) Subject: block: cleanup REQ_SOFTBARRIER usages X-Git-Tag: v2.6.31-rc1~389^2~119 X-Git-Url: http://ftp.safe.ca/?p=safe%2Fjmp%2Flinux-2.6;a=commitdiff_plain;h=10732f5661fb7adf62e20733b0030fc0fc93b0c4 block: cleanup REQ_SOFTBARRIER usages 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 --- diff --git a/block/blk-core.c b/block/blk-core.c index 7e0fab5..cf10dfc 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -946,7 +946,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;