Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 10732f56 authored by Tejun Heo's avatar Tejun Heo Committed by Jens Axboe
Browse files

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: default avatarTejun Heo <tj@kernel.org>
parent e4025f6c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;