From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Elliott Subject: [PATCH 2/2] block: include func name in __get_request prints Date: Wed, 27 Aug 2014 10:50:36 -0500 Message-ID: <20140827155036.32075.20577.stgit@beardog.cce.hp.com> References: <20140827154628.32075.3821.stgit@beardog.cce.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: axboe@kernel.dk, webbnh@hp.com, linux-kernel@vger.kernel.org, relliott@beardog.cce.hp.com, linux-fsdevel@vger.kernel.org, viro@zeniv.linux.org.uk, elliott@hp.com, scameron@beardog.cce.hp.com Return-path: In-Reply-To: <20140827154628.32075.3821.stgit@beardog.cce.hp.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org 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 Reviewed-by: Webb Scales --- block/blk-core.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/block/blk-core.c b/block/blk-core.c index 9c5a5b9..204cbd3 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -1065,8 +1065,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;