From patchwork Thu May 4 07:31:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Omar Sandoval X-Patchwork-Id: 9710907 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 8609960362 for ; Thu, 4 May 2017 07:31:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 790CF28682 for ; Thu, 4 May 2017 07:31:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6DE6228685; Thu, 4 May 2017 07:31:49 +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=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham 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 2BBF728682 for ; Thu, 4 May 2017 07:31:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752526AbdEDHbs (ORCPT ); Thu, 4 May 2017 03:31:48 -0400 Received: from mail-pf0-f178.google.com ([209.85.192.178]:33613 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751485AbdEDHbs (ORCPT ); Thu, 4 May 2017 03:31:48 -0400 Received: by mail-pf0-f178.google.com with SMTP id q20so3747300pfg.0 for ; Thu, 04 May 2017 00:31:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osandov-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=5R0CLoWiwykHjFlb/G4FDM6+mG8xu/Le1TqhxGX50/A=; b=ZRjd8WxB97DSUwSxLQvbRboNi1fMSLR+rSxhJo+VhWauDJtKJUShELJ+pGSUKzuQ7Z 9ScoarTksGXt6QrnrmF3u8UE7ovhG0p/gjVuhjOgHvBNklEdqIruoCTvMx9DgdRu2e5O DXToR+e5Ep7i5y+ggLa3F5ufPIuN1VmK6pEHDi2/DOxr4xhC0iv7IePvPzG3SsFQDHzZ ARI3xXOi4AllW2bC4C/xdFW2lz3knrBXKlXK86kzPeocz3eWwImYvFjcEFs8Gq41dNO7 1jp2cbSKLgAd0d8mlSiuc14PW0a8+omdyrs2qHof4xtmt7OCSm/cRJuhgIMiNbruqkiJ +kcA== 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:in-reply-to:references; bh=5R0CLoWiwykHjFlb/G4FDM6+mG8xu/Le1TqhxGX50/A=; b=QYfMAIleaOMkg2/yBfs63NWhLoTQMWnTYCGzWw+q+RbG1hTQsKxK2ecfQAnfuJV7FC zTv7ATAm1mfEm2MTc29v9yu2EYWWNfERx3Zc50jxe2A+I/vw+l8V0/NUerqa3oFtOnMc +nuIoUp4Z5YBRTClt0Kor3igNYpiA74YWNiJEiBnenMaHU3uhR+gOscaKiUq+Gne494K GrodfCNrO6FrK7b2234BSCh6qftpwTIMXs8bLbyXkhq5X2eNUfjTZKIxAn6gK1eeemE+ aqcd2GgTqVXkdjZZyrVRs5Ylc5xDrT7+YvX4N78jYBIOtv3PDGCMdi4FJqHMAXhkqPDX /jVw== X-Gm-Message-State: AN3rC/7idsE2rLrP9ZEjyW46RgtHqbPvbd+tpUDfVNvuoohIdUcvPH3i HFvCFw8yVxpwhl4IpuI3HA== X-Received: by 10.99.2.9 with SMTP id 9mr42617832pgc.69.1493883107396; Thu, 04 May 2017 00:31:47 -0700 (PDT) Received: from vader.thefacebook.com ([2620:10d:c090:180::1:1d23]) by smtp.gmail.com with ESMTPSA id q6sm2272168pfq.18.2017.05.04.00.31.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 May 2017 00:31:46 -0700 (PDT) From: Omar Sandoval To: Jens Axboe , linux-block@vger.kernel.org Cc: Bart Van Assche , kernel-team@fb.com Subject: [PATCH v2 05/12] blk-mq-debugfs: rename hw queue directories from to hctx Date: Thu, 4 May 2017 00:31:27 -0700 Message-Id: X-Mailer: git-send-email 2.12.2 In-Reply-To: References: In-Reply-To: References: 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: Omar Sandoval It's not clear what these numbered directories represent unless you consult the code. We're about to get rid of the intermediate "mq" directory, so these would be even more confusing without that context. Signed-off-by: Omar Sandoval --- block/blk-mq-debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c index 109ae9f3d400..2eae3238fb35 100644 --- a/block/blk-mq-debugfs.c +++ b/block/blk-mq-debugfs.c @@ -936,7 +936,7 @@ static int blk_mq_debugfs_register_hctx(struct request_queue *q, char name[20]; int i; - snprintf(name, sizeof(name), "%u", hctx->queue_num); + snprintf(name, sizeof(name), "hctx%u", hctx->queue_num); hctx_dir = debugfs_create_dir(name, q->mq_debugfs_dir); if (!hctx_dir) return -ENOMEM;