From patchwork Wed May 3 19:57:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Omar Sandoval X-Patchwork-Id: 9710343 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 76FEF6021C for ; Wed, 3 May 2017 19:57:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6793128423 for ; Wed, 3 May 2017 19:57:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5C0A72845D; Wed, 3 May 2017 19:57:30 +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.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 CF7E228423 for ; Wed, 3 May 2017 19:57:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756807AbdECT53 (ORCPT ); Wed, 3 May 2017 15:57:29 -0400 Received: from mail-pf0-f179.google.com ([209.85.192.179]:32842 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754984AbdECT52 (ORCPT ); Wed, 3 May 2017 15:57:28 -0400 Received: by mail-pf0-f179.google.com with SMTP id q20so23623pfg.0 for ; Wed, 03 May 2017 12:57:28 -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; bh=mgmzmrT5LwYIBhW8cSBm0LA1xYI/80/1UYLszHQNl3I=; b=NpB3DmPUWf8pBfmHp5Yjp1gZpObFswN8+5Fj4hu0+hxq00UPvHBFaIPPSZmYdyAeNr F7S0j8qZoyF9Fzvt9lHs1hszfS0RTRB3ZbxqnBwyA9tEGofxsZfruwdf9ec0bvT73IBo kCZqOU2+VMKH9jWyDYoIVWXNNakLvmFIRMmpDIccjFBJZHMfIR+BdnBRaM7u9ETlAufO NScnH1mRRGeviIEiEa1ZmoifoCq1QGtMikYlgM3sG/I+B1/4HoNVuys98gRdLVnHWIyt 0Nidq00T2yWT8+WLuul9FY3Bu0ICX/mcFSbtFGhoBqynAvR97A/7ZX8M3OFjr4/y04qH 8udg== 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; bh=mgmzmrT5LwYIBhW8cSBm0LA1xYI/80/1UYLszHQNl3I=; b=uEGHpUUN3QO6qzj03HZhq1ENkSCGYGmuOF+bWcafO6D4Ex3OHlgmbgCxubdNs7Et16 sHZ1KBoNF6iMZuDE8i1pDG3m7qdySitVCVKTXlzQntavB791cMuCjZsZnZK0ppU1un18 B3+8HuyRJ4P2g6FhKTBN34wkvnpIuKifoyQA+Xi1zR65UFzPlCnz+N3DiKm3cQ3nPEXT TjBQGxj9bIvnlTd+imZ6JFf35yZ7sgfNDqqV3k/YTCJKo7/uSae0aOX6Dz5kI5pmyD8y vud6+pFfKwdMWt77PvuTLrRRke2jxS9SRpYo3qeXsRnFw/sEni/F5ubJl2O0aNjdXELo 3UIQ== X-Gm-Message-State: AN3rC/4tQdkdDKcC8Fb0fhzo5HGcXUoGd+VgBGjM+x7IZ1tnJ4E+XA4u YzrlvYcAc1pZPTcKXGoY5A== X-Received: by 10.98.65.69 with SMTP id o66mr6600008pfa.221.1493841447944; Wed, 03 May 2017 12:57:27 -0700 (PDT) Received: from vader.thefacebook.com ([2620:10d:c090:180::1:5612]) by smtp.gmail.com with ESMTPSA id p7sm5550551pfb.125.2017.05.03.12.57.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 May 2017 12:57:27 -0700 (PDT) From: Omar Sandoval To: Jens Axboe , linux-block@vger.kernel.org Cc: Bart Van Assche , kernel-team@fb.com Subject: [PATCH 10/9] blk-mq-debugfs: rename hw queue directories from to hctx Date: Wed, 3 May 2017 12:57:19 -0700 Message-Id: <7dd56561c651b20e54e82b7246e6732471b40f38.1493841286.git.osandov@fb.com> X-Mailer: git-send-email 2.12.2 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 Since we got rid of the intermediate "mq" directory, it's not completely clear what these numbered directories represent. Rename them. Signed-off-by: Omar Sandoval --- One more bonus change. 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 3a33f7e2f68c..115d73d99bb3 100644 --- a/block/blk-mq-debugfs.c +++ b/block/blk-mq-debugfs.c @@ -761,7 +761,7 @@ int blk_mq_debugfs_register_hctx(struct request_queue *q, if (!q->debugfs_dir) return -ENOENT; - snprintf(name, sizeof(name), "%u", hctx->queue_num); + snprintf(name, sizeof(name), "hctx%u", hctx->queue_num); hctx->debugfs_dir = debugfs_create_dir(name, q->debugfs_dir); if (!hctx->debugfs_dir) return -ENOMEM;