From patchwork Fri May 31 00:00:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10969381 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CBE83933 for ; Fri, 31 May 2019 00:01:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BE8D4288E8 for ; Fri, 31 May 2019 00:01:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B2DAF289B5; Fri, 31 May 2019 00:01:04 +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.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 3C2F728A6B for ; Fri, 31 May 2019 00:01:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726408AbfEaABD (ORCPT ); Thu, 30 May 2019 20:01:03 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:41515 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726128AbfEaABD (ORCPT ); Thu, 30 May 2019 20:01:03 -0400 Received: by mail-pf1-f193.google.com with SMTP id q17so4968316pfq.8 for ; Thu, 30 May 2019 17:01:02 -0700 (PDT) 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=r19IWQwRW84cjiSL7CP+zx4l2sEwisSbCZliomBxBIE=; b=hal526OrlKpthD2Cf+V//0Ur/C1dw8qxf5nsbV44nYnXuSJmCrmf5Sdz/Fam6YKxPi RCgub9H4tV3RCOYDWAsBojP/SVfPUjl2EfGyfLAErDqpgcU8F3CdFxrqRORxV9+gB656 y3BA/87LuzgOdEsAqoi7J4AzbVGbOo5ubTjPf+xoPNVUMg90dwSZpA8uqzCpEOttIEtf vEo/mGAxCUfre3g6zMSerTeJ0HfO3Ha4mbr1RAl1V4QBHAjuS4j0Nk1M8XB1RPIigEJ9 fbbtBQGcYktTxEDxQvVXtpS02ShapGjRZFYc1yP5KiosSvxVSSUKJ7tfdfpGu9OVhXgx /q+A== X-Gm-Message-State: APjAAAUc9txGIk9sjTlx9mQjJDQWnEEsLdcYQCx2b8BIqlLmx8Z99mbh miRcoEHOh3pIWRSX+vZhkU8= X-Google-Smtp-Source: APXvYqx0iVzruuloMbRtmi6b3iiBzOwyQmrOcOdHHs1I6S3Hc6lB49pzUBMiwFgkcRjjDwf1+13IEw== X-Received: by 2002:a63:484f:: with SMTP id x15mr3201600pgk.162.1559260862202; Thu, 30 May 2019 17:01:02 -0700 (PDT) Received: from desktop-bart.svl.corp.google.com ([2620:15c:2cd:202:4308:52a3:24b6:2c60]) by smtp.gmail.com with ESMTPSA id g8sm3539851pjp.17.2019.05.30.17.01.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 May 2019 17:01:01 -0700 (PDT) From: Bart Van Assche To: Jens Axboe Cc: linux-block@vger.kernel.org, Christoph Hellwig , Bart Van Assche Subject: [PATCH 1/8] block/partitions/ldm: Convert a kernel-doc header into a non-kernel-doc header Date: Thu, 30 May 2019 17:00:46 -0700 Message-Id: <20190531000053.64053-2-bvanassche@acm.org> X-Mailer: git-send-email 2.20.GIT In-Reply-To: <20190531000053.64053-1-bvanassche@acm.org> References: <20190531000053.64053-1-bvanassche@acm.org> 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 This patch avoids that the kernel-doc tool warns about this function header when building with W=1. Signed-off-by: Bart Van Assche Reviewed-by: Chaitanya Kulkarni --- block/partitions/ldm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/partitions/ldm.c b/block/partitions/ldm.c index 6db573f33219..fe5d970e2e60 100644 --- a/block/partitions/ldm.c +++ b/block/partitions/ldm.c @@ -19,7 +19,7 @@ #include "check.h" #include "msdos.h" -/** +/* * ldm_debug/info/error/crit - Output an error message * @f: A printf format string containing the message * @...: Variables to substitute into @f From patchwork Fri May 31 00:00:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10969383 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3B577912 for ; Fri, 31 May 2019 00:01:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B87B289B3 for ; Fri, 31 May 2019 00:01:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1FBE828A72; Fri, 31 May 2019 00:01:05 +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.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 CDDDD289B5 for ; Fri, 31 May 2019 00:01:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726128AbfEaABE (ORCPT ); Thu, 30 May 2019 20:01:04 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:37517 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726372AbfEaABD (ORCPT ); Thu, 30 May 2019 20:01:03 -0400 Received: by mail-pl1-f195.google.com with SMTP id e7so2729674pln.4 for ; Thu, 30 May 2019 17:01:03 -0700 (PDT) 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=a3M4CAL5+YI0RIrBs3HShKXlvw263WQkN/Gvkpmg3h4=; b=h7lT3Hj3Krq8tYSo0MhBya65aLbLIPlF0CVfpaRxOcLdceNl7d/HTTc39cNPP7buB6 sfuZoQ33MJpSapX9OuJd3vKG5wJ6Jz8r0UskTr7R/bhtP9c3lHfZb+FpJRsqpxqsQ2Fu zTt5Uo6I859+fy97BbibP3Zjkx0viEyq5/DVedWGwblcAOF7CZ6xG3kxztLu6BzvtUPK e/MKj4wMrE7eAk3p/vsGzVQNrY2owHMbFh6kJiDsTjPm4B1JpY3uI/8hyBj5KcE2OuME 5Yg7n1zQVojUsikb/GRRR5UnLAOqYC/JiqLIQaa/SjWQBCSu2aBcpV8Y73B41F1s/oAC EVww== X-Gm-Message-State: APjAAAUyHk2yeNA+ggPIuI8OP6MUiOFnhR0lh3fy//JaMEV5ic9Pa0/V j+bFotl/1BYi/vpINiCV5MI= X-Google-Smtp-Source: APXvYqw+BoAjeruYMepu+bHBwPkV4sNLsG4LMZNbhknOxQfbgPstg/Lw9pO24EJ7yKZ2NnIeQrsQJw== X-Received: by 2002:a17:902:9a08:: with SMTP id v8mr6293573plp.105.1559260863004; Thu, 30 May 2019 17:01:03 -0700 (PDT) Received: from desktop-bart.svl.corp.google.com ([2620:15c:2cd:202:4308:52a3:24b6:2c60]) by smtp.gmail.com with ESMTPSA id g8sm3539851pjp.17.2019.05.30.17.01.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 May 2019 17:01:02 -0700 (PDT) From: Bart Van Assche To: Jens Axboe Cc: linux-block@vger.kernel.org, Christoph Hellwig , Bart Van Assche Subject: [PATCH 2/8] block: Convert blk_invalidate_devt() header into a non-kernel-doc header Date: Thu, 30 May 2019 17:00:47 -0700 Message-Id: <20190531000053.64053-3-bvanassche@acm.org> X-Mailer: git-send-email 2.20.GIT In-Reply-To: <20190531000053.64053-1-bvanassche@acm.org> References: <20190531000053.64053-1-bvanassche@acm.org> 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 This patch avoids that the kernel-doc tool warns about this function header when building with W=1. Signed-off-by: Bart Van Assche Reviewed-by: Chaitanya Kulkarni --- block/genhd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block/genhd.c b/block/genhd.c index ad6826628e79..24654e1d83e6 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -532,8 +532,8 @@ void blk_free_devt(dev_t devt) } } -/** - * We invalidate devt by assigning NULL pointer for devt in idr. +/* + * We invalidate devt by assigning NULL pointer for devt in idr. */ void blk_invalidate_devt(dev_t devt) { From patchwork Fri May 31 00:00:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10969385 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F2474912 for ; Fri, 31 May 2019 00:01:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E396428956 for ; Fri, 31 May 2019 00:01:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D77B028A6B; Fri, 31 May 2019 00:01:05 +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.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 7B7D428956 for ; Fri, 31 May 2019 00:01:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726442AbfEaABE (ORCPT ); Thu, 30 May 2019 20:01:04 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:44460 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726372AbfEaABE (ORCPT ); Thu, 30 May 2019 20:01:04 -0400 Received: by mail-pf1-f193.google.com with SMTP id c9so1708786pfc.11 for ; Thu, 30 May 2019 17:01:04 -0700 (PDT) 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=jCjDZsVjBZxQ6kJ1PIfBWI62jvhoKBpe4unwu7E80yo=; b=Y2Xw2KCy3sIZhVzpY0etmj10DEjqDoYQV28Gb9KxZ9Fxl1k7MBzXA5b35d1oQd9JUP GPEazAXRRsVjMGjPtX0n6/ERCK5ydrwlfp7Dt+HQu+CDy1ecEnJH7DI0YRZMMaxyGs22 lmuNtc+JhjIgU8maoVsLcB+5fWImUsrLp5trlFnLyWq2MSky7IqnHhD+T+5ViA6l0vQk ELMcuQvJGeChqz8H8EXD3nq9EzO838RXyzvvla5kucC2ifa0sOdv6KCcXvYSQdUYY/Cu K79G2cZkiAqp+ClTTKExE/mXz2j3STWWWAsnKzVTbEzCkOdEgTT9/OMcsMM5gBRHmv1c 60wg== X-Gm-Message-State: APjAAAVf7qqvlu7c+wL78Xl84KlFllK1lrsTVDn6ORir4MQ/moAQrfI9 L00bGvQ4EEUpFFaMpRGElYdaWfFj X-Google-Smtp-Source: APXvYqypPqkIifh5Nnyud85OTTvr6YED5ixndi2nofSS9t2KUye9yha0UH9QYbRattOnSn5Dtjzj6w== X-Received: by 2002:a63:4c54:: with SMTP id m20mr6058764pgl.316.1559260863956; Thu, 30 May 2019 17:01:03 -0700 (PDT) Received: from desktop-bart.svl.corp.google.com ([2620:15c:2cd:202:4308:52a3:24b6:2c60]) by smtp.gmail.com with ESMTPSA id g8sm3539851pjp.17.2019.05.30.17.01.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 May 2019 17:01:03 -0700 (PDT) From: Bart Van Assche To: Jens Axboe Cc: linux-block@vger.kernel.org, Christoph Hellwig , Bart Van Assche , Kees Cook Subject: [PATCH 3/8] block: Fix throtl_pending_timer_fn() kernel-doc header Date: Thu, 30 May 2019 17:00:48 -0700 Message-Id: <20190531000053.64053-4-bvanassche@acm.org> X-Mailer: git-send-email 2.20.GIT In-Reply-To: <20190531000053.64053-1-bvanassche@acm.org> References: <20190531000053.64053-1-bvanassche@acm.org> 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 Commit e99e88a9d2b0 renamed a function argument without updating the corresponding kernel-doc header. Update the kernel-doc header. Cc: Kees Cook Fixes: e99e88a9d2b0 ("treewide: setup_timer() -> timer_setup()") # v4.15. Signed-off-by: Bart Van Assche Reviewed-by: Chaitanya Kulkarni Reviewed-by: Kees Cook --- block/blk-throttle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-throttle.c b/block/blk-throttle.c index 1b97a73d2fb1..9ea7c0ecad10 100644 --- a/block/blk-throttle.c +++ b/block/blk-throttle.c @@ -1220,7 +1220,7 @@ static bool throtl_can_upgrade(struct throtl_data *td, struct throtl_grp *this_tg); /** * throtl_pending_timer_fn - timer function for service_queue->pending_timer - * @arg: the throtl_service_queue being serviced + * @t: the pending_timer member of the throtl_service_queue being serviced * * This timer is armed when a child throtl_grp with active bio's become * pending and queued on the service_queue's pending_tree and expires when From patchwork Fri May 31 00:00:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10969387 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3962792A for ; Fri, 31 May 2019 00:01:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A103289B3 for ; Fri, 31 May 2019 00:01:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1E5BB28A4C; Fri, 31 May 2019 00:01:07 +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.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 B457D289B3 for ; Fri, 31 May 2019 00:01:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726454AbfEaABG (ORCPT ); Thu, 30 May 2019 20:01:06 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:38374 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726372AbfEaABG (ORCPT ); Thu, 30 May 2019 20:01:06 -0400 Received: by mail-pf1-f194.google.com with SMTP id a186so4269021pfa.5 for ; Thu, 30 May 2019 17:01:05 -0700 (PDT) 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=At7y9tpwmuqLFmWd0buLD3cE9YvDJstXP4wHxMpj1ao=; b=Nv2WBQaiFnpIv5sYSereVKbm07nsEsi7jNsaH63mVTLjqrnnv6C5NQGTY933uCMJK0 3bUPl19D/FJNOgH2LIM2Xsvmj+Pw7pATm2CLv3TUca5DBpLDfLDFeiedaFWPLxhetQYq cG4lubc3YW3mGtz4vpAbrzS28B76mHlxf5e4t1zLiYjcZuXz8R9TeByinW3xD32J7agA C8S85hCJ8/B3Ks5czYqI8WJBTFcoT91cUeAEZmSnFLcRubhKe+YzNlr7qqOPbZUsNM3E 7dqAJNmmamZDwJm4P4qbnGLeqlehETpW3yIpI+xQF9T0yMvg1HWwiu4jvFydghdPYPWu G0gQ== X-Gm-Message-State: APjAAAU0NX0OCLy4oFrt6NcZYrHUCiURxYnX5+zYAZIMu+VyaMNFI7d8 UzzIQAskABnnFkFCRUKoUNg= X-Google-Smtp-Source: APXvYqwqGCsyn+rOX+gcg08qR8hZUPzDr/P0mIpY+psDE1wDY5umGIWeOQYwqX1deLiuIex2UOS3kg== X-Received: by 2002:a65:664b:: with SMTP id z11mr2966555pgv.263.1559260865124; Thu, 30 May 2019 17:01:05 -0700 (PDT) Received: from desktop-bart.svl.corp.google.com ([2620:15c:2cd:202:4308:52a3:24b6:2c60]) by smtp.gmail.com with ESMTPSA id g8sm3539851pjp.17.2019.05.30.17.01.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 May 2019 17:01:04 -0700 (PDT) From: Bart Van Assche To: Jens Axboe Cc: linux-block@vger.kernel.org, Christoph Hellwig , Bart Van Assche , Hannes Reinecke , Keith Busch Subject: [PATCH 4/8] block: Fix blk_mq_*_map_queues() kernel-doc headers Date: Thu, 30 May 2019 17:00:49 -0700 Message-Id: <20190531000053.64053-5-bvanassche@acm.org> X-Mailer: git-send-email 2.20.GIT In-Reply-To: <20190531000053.64053-1-bvanassche@acm.org> References: <20190531000053.64053-1-bvanassche@acm.org> 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 This patch avoids that the kernel-doc script complains about these function headers when building with W=1. Cc: Hannes Reinecke Cc: Keith Busch Fixes: ed76e329d74a ("blk-mq: abstract out queue map") # v5.0. Fixes: e42b3867de4b ("blk-mq-rdma: pass in queue map to blk_mq_rdma_map_queues") # v5.0. Signed-off-by: Bart Van Assche Reviewed-by: Chaitanya Kulkarni --- block/blk-mq-pci.c | 2 +- block/blk-mq-rdma.c | 4 ++-- block/blk-mq-virtio.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/block/blk-mq-pci.c b/block/blk-mq-pci.c index ad4545a2a98b..b595a94c4d16 100644 --- a/block/blk-mq-pci.c +++ b/block/blk-mq-pci.c @@ -13,7 +13,7 @@ /** * blk_mq_pci_map_queues - provide a default queue mapping for PCI device - * @set: tagset to provide the mapping for + * @qmap: CPU to hardware queue map. * @pdev: PCI device associated with @set. * @offset: Offset to use for the pci irq vector * diff --git a/block/blk-mq-rdma.c b/block/blk-mq-rdma.c index cc921e6ba709..14f968e58b8f 100644 --- a/block/blk-mq-rdma.c +++ b/block/blk-mq-rdma.c @@ -8,8 +8,8 @@ /** * blk_mq_rdma_map_queues - provide a default queue mapping for rdma device - * @set: tagset to provide the mapping for - * @dev: rdma device associated with @set. + * @map: CPU to hardware queue map. + * @dev: rdma device to provide a mapping for. * @first_vec: first interrupt vectors to use for queues (usually 0) * * This function assumes the rdma device @dev has at least as many available diff --git a/block/blk-mq-virtio.c b/block/blk-mq-virtio.c index 75a52c18a8f6..488341628256 100644 --- a/block/blk-mq-virtio.c +++ b/block/blk-mq-virtio.c @@ -11,8 +11,8 @@ /** * blk_mq_virtio_map_queues - provide a default queue mapping for virtio device - * @set: tagset to provide the mapping for - * @vdev: virtio device associated with @set. + * @qmap: CPU to hardware queue map. + * @vdev: virtio device to provide a mapping for. * @first_vec: first interrupt vectors to use for queues (usually 0) * * This function assumes the virtio device @vdev has at least as many available From patchwork Fri May 31 00:00:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10969389 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 532E992A for ; Fri, 31 May 2019 00:01:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 44C0928956 for ; Fri, 31 May 2019 00:01:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3921028A6B; Fri, 31 May 2019 00:01: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.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 25517289B3 for ; Fri, 31 May 2019 00:01:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726498AbfEaABH (ORCPT ); Thu, 30 May 2019 20:01:07 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:44745 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726372AbfEaABH (ORCPT ); Thu, 30 May 2019 20:01:07 -0400 Received: by mail-pl1-f196.google.com with SMTP id c5so3196675pll.11 for ; Thu, 30 May 2019 17:01:07 -0700 (PDT) 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=pIGx/kPzD1UuzqJRC374QGxG0VTa+UTXUWjNfmuqFB8=; b=LfhiSaGyEBmYVmzybqb/fcm3sZI7xTt1pZ1aoZiCoOwZrORluoa+KngAkWa6s5LbgA oi4i8dujh4IYI2yWHu8jBPKVnn8DgPj58cbhioJ9wVmMyVy7S4/VjeZXIAaTbONfDQAu bnlIJFQ5BBOhFY7n5zoLW9Gbcas3ncPONuQwNWuZhxmQuCfmlaAPXM1JO+kr8EOui/Xt /WpQ9stCifmCcYYgK6pjP2lKk/54LRP2ctT7P4HZyPreQtd8iPZHKRrJheGrdvTmUm5y 5PAUXHAwqiVHPBBgv607WluY0+iE6q6Y3ezpFyzm7T0ycxGcZHiOAI1CfnV+RRKn6kGj 4XhA== X-Gm-Message-State: APjAAAXzxhmfbO0BA4YiZGLIEdYrFMBONQ+cfDfGa97qFlaajmZQvQvw Icf2DrfYs6kSP4UD615mQFE= X-Google-Smtp-Source: APXvYqxn3RER5XFmroyAtKs4ghp4IpcGz15IqC8sqxP80rrFQpfOs04n9i4BDxkamCp5jd+G95zdKg== X-Received: by 2002:a17:902:b10f:: with SMTP id q15mr6207254plr.257.1559260866611; Thu, 30 May 2019 17:01:06 -0700 (PDT) Received: from desktop-bart.svl.corp.google.com ([2620:15c:2cd:202:4308:52a3:24b6:2c60]) by smtp.gmail.com with ESMTPSA id g8sm3539851pjp.17.2019.05.30.17.01.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 May 2019 17:01:05 -0700 (PDT) From: Bart Van Assche To: Jens Axboe Cc: linux-block@vger.kernel.org, Christoph Hellwig , Bart Van Assche Subject: [PATCH 5/8] block: Fix rq_qos_wait() kernel-doc header Date: Thu, 30 May 2019 17:00:50 -0700 Message-Id: <20190531000053.64053-6-bvanassche@acm.org> X-Mailer: git-send-email 2.20.GIT In-Reply-To: <20190531000053.64053-1-bvanassche@acm.org> References: <20190531000053.64053-1-bvanassche@acm.org> 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 Add documentation for the @rqw argument and change " - " into ": ". Fixes: 84f603246db9 ("block: add rq_qos_wait to rq_qos") # v5.0-rc1~52^2~140. Signed-off-by: Bart Van Assche Reviewed-by: Chaitanya Kulkarni --- block/blk-rq-qos.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/block/blk-rq-qos.c b/block/blk-rq-qos.c index 3f55b56f24bc..659ccb8b693f 100644 --- a/block/blk-rq-qos.c +++ b/block/blk-rq-qos.c @@ -209,9 +209,10 @@ static int rq_qos_wake_function(struct wait_queue_entry *curr, /** * rq_qos_wait - throttle on a rqw if we need to - * @private_data - caller provided specific data - * @acquire_inflight_cb - inc the rqw->inflight counter if we can - * @cleanup_cb - the callback to cleanup in case we race with a waker + * @rqw: rqw to throttle on + * @private_data: caller provided specific data + * @acquire_inflight_cb: inc the rqw->inflight counter if we can + * @cleanup_cb: the callback to cleanup in case we race with a waker * * This provides a uniform place for the rq_qos users to do their throttling. * Since you can end up with a lot of things sleeping at once, this manages the From patchwork Fri May 31 00:00:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10969391 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 53F0E912 for ; Fri, 31 May 2019 00:01:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 45522289B5 for ; Fri, 31 May 2019 00:01:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 39CF028B11; Fri, 31 May 2019 00:01:10 +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.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 DAE08289B5 for ; Fri, 31 May 2019 00:01:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726543AbfEaABJ (ORCPT ); Thu, 30 May 2019 20:01:09 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:43197 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726509AbfEaABJ (ORCPT ); Thu, 30 May 2019 20:01:09 -0400 Received: by mail-pf1-f193.google.com with SMTP id c6so4961752pfa.10 for ; Thu, 30 May 2019 17:01:08 -0700 (PDT) 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=1vnHNVRtozPlGQFkNwwR5rrWtpp3cok6C77kqj9k9mU=; b=dKsidzGJStRygborY2eqMIfYdoOCYu0kWxHdO/gLcAFw2AWDG452t25u6J5T00JM02 558i8opIPx87Xut4s2+SmfgBJWx4x7QGCojHU2pZm3qtlI2+8X0xWAOm1CwSaReIZB39 IY/DjbI+IWZ7hg2jnSDmlxxq3M1WHfrOKn4NkYvmyc3IWvSIEtjdeqOFSuDVbNPCRBwK S1srkWQnomu7hKj597azBszArYJWc4IkZ8eek5FXei3Zx+DQWT2o+cVvvDXRdROoVtFg VXUr8AuFFEaMEGdGXwbBhErBy7L5al9qp+PC7lerPAB0S69C0Fi+pAfw85ARyZYts37k ibrQ== X-Gm-Message-State: APjAAAUNe0rH0GtN2RGHauJ9gLFaGKstrOiA/w0Y0H03Q8PDqddMo6bZ XvX9STYMdSP0eDiIkHiT/fs= X-Google-Smtp-Source: APXvYqwATFxGAZxvTtQZ3gaBz0FlHFXLlKN/6ssRruYDeoVY0rXWGXy14fnx4rPeOujrcGfvKpLJOg== X-Received: by 2002:a17:90a:192:: with SMTP id 18mr5982444pjc.107.1559260868174; Thu, 30 May 2019 17:01:08 -0700 (PDT) Received: from desktop-bart.svl.corp.google.com ([2620:15c:2cd:202:4308:52a3:24b6:2c60]) by smtp.gmail.com with ESMTPSA id g8sm3539851pjp.17.2019.05.30.17.01.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 May 2019 17:01:06 -0700 (PDT) From: Bart Van Assche To: Jens Axboe Cc: linux-block@vger.kernel.org, Christoph Hellwig , Bart Van Assche Subject: [PATCH 6/8] block: Fix bsg_setup_queue() kernel-doc header Date: Thu, 30 May 2019 17:00:51 -0700 Message-Id: <20190531000053.64053-7-bvanassche@acm.org> X-Mailer: git-send-email 2.20.GIT In-Reply-To: <20190531000053.64053-1-bvanassche@acm.org> References: <20190531000053.64053-1-bvanassche@acm.org> 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 Document all bsg_setup_queue() arguments as required. Fixes: aae3b069d5ce ("bsg: pass in desired timeout handler") # v5.0. Signed-off-by: Bart Van Assche Reviewed-by: Chaitanya Kulkarni --- block/bsg-lib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/block/bsg-lib.c b/block/bsg-lib.c index b898a1cdf872..785dd58947f1 100644 --- a/block/bsg-lib.c +++ b/block/bsg-lib.c @@ -354,6 +354,7 @@ static const struct blk_mq_ops bsg_mq_ops = { * @dev: device to attach bsg device to * @name: device to give bsg device * @job_fn: bsg job handler + * @timeout: timeout handler function pointer * @dd_job_size: size of LLD data needed for each job */ struct request_queue *bsg_setup_queue(struct device *dev, const char *name, From patchwork Fri May 31 00:00:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10969393 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1755C92A for ; Fri, 31 May 2019 00:01:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09826287FB for ; Fri, 31 May 2019 00:01:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F1D5828A72; Fri, 31 May 2019 00:01:10 +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.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 A3ED9287FB for ; Fri, 31 May 2019 00:01:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726509AbfEaABK (ORCPT ); Thu, 30 May 2019 20:01:10 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:42666 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726372AbfEaABJ (ORCPT ); Thu, 30 May 2019 20:01:09 -0400 Received: by mail-pg1-f194.google.com with SMTP id e6so1672183pgd.9 for ; Thu, 30 May 2019 17:01:09 -0700 (PDT) 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=EKYMpr3av6c92Yl0BWJMzu7c0k4yiUm12PuuJC1EqMY=; b=I8DdqmBeWCAqkUIwHiCsPGQp1SQVX12uIhoTP5Eq9pfy5kmDvAyqAwm8iy7NbASnnm U5NWEPWX1hwZ5FHbThhVvZ49EOcZNeoBipM/oS2jYuWajHWM++B04bDZJbX9oMe8BNpr x0lZAECOXItikyR3J7C8EiDsnIiFIvqow0Hi5FqgHAIzxYIFvS06h3qk335gH8VnkZh4 Rt/Du/En2XyngZ5XgcR60etEEqaUz0/nskLZaGL79imZZK1tXVXsbC7JwA2YsraXIpha bM0rIL00P58eqMfY0AIxF7l1XFhHLvB8gsRjwPyIFxd1G7wahsxa/icY9h/KdGWeKsgw aeFg== X-Gm-Message-State: APjAAAVBdOpxnVM82d6QdjVbgvga05auKSAeQmVVloy5tlb52TRKnZNE YeBLY4/bPJOIGcDDhV0U/hs= X-Google-Smtp-Source: APXvYqwbRIabVlUNQzp8vJOUkLM/w6+FPnqjer3AeIoZ9kHmaHWSiALvW1cDn4jgikxBe/Xq8RaTUQ== X-Received: by 2002:a65:5203:: with SMTP id o3mr5969493pgp.379.1559260869000; Thu, 30 May 2019 17:01:09 -0700 (PDT) Received: from desktop-bart.svl.corp.google.com ([2620:15c:2cd:202:4308:52a3:24b6:2c60]) by smtp.gmail.com with ESMTPSA id g8sm3539851pjp.17.2019.05.30.17.01.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 May 2019 17:01:08 -0700 (PDT) From: Bart Van Assche To: Jens Axboe Cc: linux-block@vger.kernel.org, Christoph Hellwig , Bart Van Assche , Max Gurtovoy Subject: [PATCH 7/8] blk-mq: Fix spelling in a source code comment Date: Thu, 30 May 2019 17:00:52 -0700 Message-Id: <20190531000053.64053-8-bvanassche@acm.org> X-Mailer: git-send-email 2.20.GIT In-Reply-To: <20190531000053.64053-1-bvanassche@acm.org> References: <20190531000053.64053-1-bvanassche@acm.org> 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 Change one occurrence of 'performace' into 'performance'. Cc: Max Gurtovoy Fixes: fe631457ff3e ("blk-mq: map all HWQ also in hyperthreaded system") # v4.13. Signed-off-by: Bart Van Assche Reviewed-by: Chaitanya Kulkarni --- block/blk-mq-cpumap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block/blk-mq-cpumap.c b/block/blk-mq-cpumap.c index 48bebf00a5f3..0afa4dc48365 100644 --- a/block/blk-mq-cpumap.c +++ b/block/blk-mq-cpumap.c @@ -42,8 +42,8 @@ int blk_mq_map_queues(struct blk_mq_queue_map *qmap) /* * First do sequential mapping between CPUs and queues. * In case we still have CPUs to map, and we have some number of - * threads per cores then map sibling threads to the same queue for - * performace optimizations. + * threads per cores then map sibling threads to the same queue + * for performance optimizations. */ if (cpu < nr_queues) { map[cpu] = cpu_to_queue_index(qmap, nr_queues, cpu); From patchwork Fri May 31 00:00:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10969395 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 88727933 for ; Fri, 31 May 2019 00:01:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7AF2D287FB for ; Fri, 31 May 2019 00:01:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6F52128A6B; Fri, 31 May 2019 00:01:11 +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.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 20E01287FB for ; Fri, 31 May 2019 00:01:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726548AbfEaABK (ORCPT ); Thu, 30 May 2019 20:01:10 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:43201 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726372AbfEaABK (ORCPT ); Thu, 30 May 2019 20:01:10 -0400 Received: by mail-pf1-f196.google.com with SMTP id c6so4961786pfa.10 for ; Thu, 30 May 2019 17:01:10 -0700 (PDT) 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=4xWeZvctfD9fE8Y0f4Sc6Wt0Ue8JDElg+hHaYI60+tA=; b=rw36F+KNXMH3QbhqJNk66JATCdOlprJD9apvPyiCRHDLbMS6H/tFotHeXLr0FGL4rC 33G4pLLMcxs5g3ynP0EmxfruJRqcbikzSigcVstVdDBIFTMgvU+djdfo4iOUAieHFAYc USdCLcq93LEAqkdIXXb+owRvZqO5AbJkaTKFfTxkJHiqheOcLlWaYuCoKJYDU+Mv1CbE o6w7lQ5YMkzeuSvLCxYNRNALiVRWxhk9ROI0ztwMGNg/xFVHaZ9/HzFdln5Kzz51J6IQ iWtjUJeLnOfleu29wmoUi6LSIhkrK/dmCBJUWkI46uKC6grSPJw1uwHTM4KWd1+f/gqS Vhgg== X-Gm-Message-State: APjAAAUkEZaqSWrkqRu+hqEwfwsOr70golq+4UwbKC/4keCeqS665L2D XbUUtpIQfRaOldsUhs2xUokFATZY X-Google-Smtp-Source: APXvYqzZGXrrWNG8b4NWSlV0Om8EDB879zyV6UM0Cf/0W8hx1caIQFLaqU74SPxN4fXDeBdzLjKt/A== X-Received: by 2002:a62:2805:: with SMTP id o5mr6330238pfo.256.1559260869779; Thu, 30 May 2019 17:01:09 -0700 (PDT) Received: from desktop-bart.svl.corp.google.com ([2620:15c:2cd:202:4308:52a3:24b6:2c60]) by smtp.gmail.com with ESMTPSA id g8sm3539851pjp.17.2019.05.30.17.01.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 May 2019 17:01:09 -0700 (PDT) From: Bart Van Assche To: Jens Axboe Cc: linux-block@vger.kernel.org, Christoph Hellwig , Bart Van Assche Subject: [PATCH 8/8] blk-mq: Document the blk_mq_hw_queue_to_node() arguments Date: Thu, 30 May 2019 17:00:53 -0700 Message-Id: <20190531000053.64053-9-bvanassche@acm.org> X-Mailer: git-send-email 2.20.GIT In-Reply-To: <20190531000053.64053-1-bvanassche@acm.org> References: <20190531000053.64053-1-bvanassche@acm.org> 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 Document the meaning of the blk_mq_hw_queue_to_node() arguments. Signed-off-by: Bart Van Assche Reviewed-by: Chaitanya Kulkarni --- block/blk-mq-cpumap.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/block/blk-mq-cpumap.c b/block/blk-mq-cpumap.c index 0afa4dc48365..f945621a0e8f 100644 --- a/block/blk-mq-cpumap.c +++ b/block/blk-mq-cpumap.c @@ -60,7 +60,11 @@ int blk_mq_map_queues(struct blk_mq_queue_map *qmap) } EXPORT_SYMBOL_GPL(blk_mq_map_queues); -/* +/** + * blk_mq_hw_queue_to_node - Look up the memory node for a hardware queue index + * @qmap: CPU to hardware queue map. + * @index: hardware queue index. + * * We have no quick way of doing reverse lookups. This is only used at * queue init time, so runtime isn't important. */