From patchwork Fri Jan 5 13:16:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Matias_Bj=C3=B8rling?= X-Patchwork-Id: 10146481 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E46A560244 for ; Fri, 5 Jan 2018 13:18:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D4ED11FFEB for ; Fri, 5 Jan 2018 13:18:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C9C4C288BA; Fri, 5 Jan 2018 13:18:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6B9D91FFEB for ; Fri, 5 Jan 2018 13:18:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752086AbeAENRI (ORCPT ); Fri, 5 Jan 2018 08:17:08 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:45402 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752079AbeAENRE (ORCPT ); Fri, 5 Jan 2018 08:17:04 -0500 Received: by mail-wm0-f65.google.com with SMTP id 9so2388902wme.4 for ; Fri, 05 Jan 2018 05:17:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bjorling.me; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SJlPuv6vFuutAiudUJuhtdqiUlTf5r//q0z4RMyi3lk=; b=qi9BC0HH/pqc7Ug97Mdxfq5v8P/P5cJ2iTDDkY11+OEcm287r1fJEZmp41Koz7T3C1 1Hfs5L2o/9w7jJGiwJ1R7twie7DF60+PPJ342d2DLOIhe2C0fucRU9fnm/vqqXxzbtE0 2wcUXOQLiTRaFNPE4awClXYKfU5LUkoWchcBY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SJlPuv6vFuutAiudUJuhtdqiUlTf5r//q0z4RMyi3lk=; b=DsjqJH2OK0GrFxtMJRoQfmnjkU/VI8JdVTfhGNYsEAYxWivgvbrsNMzSFQCTuuoEOJ klUx7fr8IvKyCFEKipEbquvsq7d3tTI9uW2/PzQMg8Uyglg6PWW723q3zZTQ2y579ov3 vb9/J/IhqoH29bGFvTGFDoXq8zhyNuYPBZ2JnHLdndeRpcPXr1vUv1SXpNyumNnA/m3J Nx0OFhIy1nHRz0q9Zgfd224w/t+LbOb/LvYngJOZo6lDBR91Hf9ba+D6uAp/TeK/D2yy EJt3a+ZD8X1LuOf1B1LueWlYkM1tBSJv7digCoPZLkeP/gZi/YvrqTKc4BvMoD1X2rPF qLgw== X-Gm-Message-State: AKGB3mJOQvdaZimayIFQGyWoq6F0auJNzvXuhcXg5wTXSIpySIVqerhX Ne3zmToWWRgYN756Wn0BUXW2SA== X-Google-Smtp-Source: ACJfBosPJ1XzgRNXv70q76fDoNA4j8Mc2OKoFH+JAnnH9l+0m09+tg1Vv8wjuU5UUYGDF4DJonIVHA== X-Received: by 10.80.204.212 with SMTP id b20mr4212538edj.201.1515158223330; Fri, 05 Jan 2018 05:17:03 -0800 (PST) Received: from skyninja.cnexlabs.com (6164211-cl69.boa.fiberby.dk. [193.106.164.211]) by smtp.gmail.com with ESMTPSA id e46sm4228940edb.93.2018.01.05.05.17.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jan 2018 05:17:02 -0800 (PST) From: =?UTF-8?q?Matias=20Bj=C3=B8rling?= To: axboe@fb.com Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Javier=20Gonz=C3=A1lez?= , =?UTF-8?q?Matias=20Bj=C3=B8rling?= Subject: [GIT PULL 23/25] lightnvm: pblk: print instance name on instance info Date: Fri, 5 Jan 2018 14:16:19 +0100 Message-Id: <20180105131621.20808-24-m@bjorling.me> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20180105131621.20808-1-m@bjorling.me> References: <20180105131621.20808-1-m@bjorling.me> MIME-Version: 1.0 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Javier González Add the instance name to the information printed out on target creation. Signed-off-by: Javier González Signed-off-by: Matias Bjørling --- drivers/lightnvm/pblk-init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/lightnvm/pblk-init.c b/drivers/lightnvm/pblk-init.c index 8c40bc3..93d671c 100644 --- a/drivers/lightnvm/pblk-init.c +++ b/drivers/lightnvm/pblk-init.c @@ -1069,7 +1069,8 @@ static void *pblk_init(struct nvm_tgt_dev *dev, struct gendisk *tdisk, blk_queue_max_discard_sectors(tqueue, UINT_MAX >> 9); queue_flag_set_unlocked(QUEUE_FLAG_DISCARD, tqueue); - pr_info("pblk init: luns:%u, lines:%d, secs:%llu, buf entries:%u\n", + pr_info("pblk(%s): luns:%u, lines:%d, secs:%llu, buf entries:%u\n", + tdisk->disk_name, geo->all_luns, pblk->l_mg.nr_lines, (unsigned long long)pblk->rl.nr_secs, pblk->rwb.nr_entries);