mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 07:50:53 +07:00
block: include func name in __get_request prints
In __get_request calls to printk_ratelimited, include the function name so the callbacks suppressed message matches the messages that are printed, and add "dev" before the device name so it matches other block layer messages. Signed-off-by: Robert Elliott <elliott@hp.com> Reviewed-by: Webb Scales <webbnh@hp.com> Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
parent
ef3ecb66bc
commit
7b2b10e0e2
@ -1060,8 +1060,8 @@ static struct request *__get_request(struct request_list *rl, int rw_flags,
|
|||||||
* shouldn't stall IO. Treat this request as !elvpriv. This will
|
* shouldn't stall IO. Treat this request as !elvpriv. This will
|
||||||
* disturb iosched and blkcg but weird is bettern than dead.
|
* disturb iosched and blkcg but weird is bettern than dead.
|
||||||
*/
|
*/
|
||||||
printk_ratelimited(KERN_WARNING "%s: request aux data allocation failed, iosched may be disturbed\n",
|
printk_ratelimited(KERN_WARNING "%s: dev %s: request aux data allocation failed, iosched may be disturbed\n",
|
||||||
dev_name(q->backing_dev_info.dev));
|
__func__, dev_name(q->backing_dev_info.dev));
|
||||||
|
|
||||||
rq->cmd_flags &= ~REQ_ELVPRIV;
|
rq->cmd_flags &= ~REQ_ELVPRIV;
|
||||||
rq->elv.icq = NULL;
|
rq->elv.icq = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user