aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorRobert Elliott <elliott@hp.com>2014-08-27 11:50:36 -0400
committerJens Axboe <axboe@fb.com>2014-10-13 10:34:23 -0400
commit7b2b10e0e2c65ebc11314e1af9924d0824ec1562 (patch)
tree10e0762a4f07cc13a7af1d31e551ccfe9c95ea0a /block
parentef3ecb66bcd6b2076dc8782e1315cf2807b73c0c (diff)
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>
Diffstat (limited to 'block')
-rw-r--r--block/blk-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index ecc124ec53bb..d6ec7db9a9f4 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -1060,8 +1060,8 @@ fail_elvpriv:
1060 * shouldn't stall IO. Treat this request as !elvpriv. This will 1060 * shouldn't stall IO. Treat this request as !elvpriv. This will
1061 * disturb iosched and blkcg but weird is bettern than dead. 1061 * disturb iosched and blkcg but weird is bettern than dead.
1062 */ 1062 */
1063 printk_ratelimited(KERN_WARNING "%s: request aux data allocation failed, iosched may be disturbed\n", 1063 printk_ratelimited(KERN_WARNING "%s: dev %s: request aux data allocation failed, iosched may be disturbed\n",
1064 dev_name(q->backing_dev_info.dev)); 1064 __func__, dev_name(q->backing_dev_info.dev));
1065 1065
1066 rq->cmd_flags &= ~REQ_ELVPRIV; 1066 rq->cmd_flags &= ~REQ_ELVPRIV;
1067 rq->elv.icq = NULL; 1067 rq->elv.icq = NULL;