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

Commit b217a903 authored by Shan Wei's avatar Shan Wei Committed by Jens Axboe
Browse files

cfq: fix the log message after dispatched a request



The blktrace tools can show process id when cfq dispatched a request,
using cfq_log_cfqq() instead of cfq_log().

Signed-off-by: default avatarShan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 49b3a3cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1349,7 +1349,7 @@ static int cfq_dispatch_requests(struct request_queue *q, int force)
		cfq_slice_expired(cfqd, 0);
	}

	cfq_log(cfqd, "dispatched a request");
	cfq_log_cfqq(cfqd, cfqq, "dispatched a request");
	return 1;
}