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

Commit 1b59dd51 authored by Jens Axboe's avatar Jens Axboe
Browse files

block: use proper BLK_RW_ASYNC in blk_queue_start_tag()



Makes it easier to read than the 0.

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 316d315b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -359,7 +359,7 @@ int blk_queue_start_tag(struct request_queue *q, struct request *rq)
		max_depth -= 2;
		if (!max_depth)
			max_depth = 1;
		if (q->in_flight[0] > max_depth)
		if (q->in_flight[BLK_RW_ASYNC] > max_depth)
			return 1;
	}