]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
block: include func name in __get_request prints
authorRobert Elliott <elliott@hp.com>
Wed, 27 Aug 2014 15:50:36 +0000 (10:50 -0500)
committerJens Axboe <axboe@fb.com>
Mon, 13 Oct 2014 14:34:23 +0000 (08:34 -0600)
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>
block/blk-core.c

index ecc124ec53bb72ddf9315154d2936bd098da2064..d6ec7db9a9f43faafdd3cb938132fb6b43b44e9e 100644 (file)
@@ -1060,8 +1060,8 @@ fail_elvpriv:
         * shouldn't stall IO.  Treat this request as !elvpriv.  This will
         * 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",
-                          dev_name(q->backing_dev_info.dev));
+       printk_ratelimited(KERN_WARNING "%s: dev %s: request aux data allocation failed, iosched may be disturbed\n",
+                          __func__, dev_name(q->backing_dev_info.dev));
 
        rq->cmd_flags &= ~REQ_ELVPRIV;
        rq->elv.icq = NULL;