Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp458387pxu; Fri, 4 Dec 2020 07:25:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJzKTKiU9G8YCW68aPt5YEOgWN2Hlqog6VHYiBPdGfjk1r4NEwq/7xSiuvsgQ8OXqB0AaogM X-Received: by 2002:a17:906:614a:: with SMTP id p10mr7701875ejl.312.1607095525234; Fri, 04 Dec 2020 07:25:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607095525; cv=none; d=google.com; s=arc-20160816; b=wkM77hZbw6wPbwFXxohDxbY88vmrLx+QDyRgXvJCaWkMKR18lQv9sMzD3dFsY1xrwM WjM3ERUjCptRRF1I6FJ/y2YhefsbW9SON7dpz/xMA1XUl+dgI02BFV4c9SkYenjlfaIP G+BQ+Qno2CvEzBnoofxeXIV0BXwWzNIUetgAcz4/oqK+eDi7D1wE4gO+ZiMJCXGkZD2B XbP9EVmb+eAqIFGJsU/49d7CTsMw98VwEI7duzD0SJWVTiDuqrncSwxewSHMUvqpED00 Pxd5Zd1MuaSQEmEOOQjJHUH/Wl+EJ43dzbltUHJKV1+qbaJaJeX8MPLXZCnBm6JQ1pvm UdeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=zSiFncf9bc1IksnnHanoKbYxCLnTdwlPlYIeXCQuzAo=; b=XlKua3jfwaEEYRpmfmy/oqU7OYlwMure/PXNDMpqr1Oa7DCBbuD4F7cgR1YfqDSiQX qaZBn9i1BfjLvWtxcKKa/ufvM6UgZoOHVDstQms/8uPAu6Urw4wTGclAq83RdVYgcCy9 sXCIq0/TuBYFTZdeFuVBHKhUOhLVS6NoNycNhzLfPzT/BSzswLGnq45tmJPkO4LX3YAP NhTtWRHKmbelXlUE9As480iuFJokSpMn0lbeABiofCsBkTIvI5l1I1jXw1VwybhXmnbf EyIuGhplNYXC56OPaRSvC9TyjgxhwY2WJTMV0S4SQUHYfELXWm2/a/1zsjjfXXbOZiTL I+Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NUKe7m15; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j18si3086099edj.99.2020.12.04.07.25.02; Fri, 04 Dec 2020 07:25:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NUKe7m15; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730524AbgLDPWH (ORCPT + 99 others); Fri, 4 Dec 2020 10:22:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730493AbgLDPWH (ORCPT ); Fri, 4 Dec 2020 10:22:07 -0500 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E920C061A53; Fri, 4 Dec 2020 07:21:27 -0800 (PST) Received: by mail-pg1-x541.google.com with SMTP id n7so3708761pgg.2; Fri, 04 Dec 2020 07:21:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=zSiFncf9bc1IksnnHanoKbYxCLnTdwlPlYIeXCQuzAo=; b=NUKe7m154RACyFxE/BsYVTHsM+7z19YuU1au+5V0prlFmNfBtv35ChQeOuXhYQOYCj 3CI6C3YYYH+MGvrU4CJQoxjLKPPuYRH83yoXKkUz5TngBc6ExqMocojFL9lNfe6EtCb4 NQXG2ESRU+N6+MRDUKE738qzQyf48T+vksFsfbo6qmp8etFfjSUlM0lk2MQdIyza5T66 HCje7fK+NkTwTzSR8XM2FO+NO2PoEkYObT21FdKUCVpxGxSIXhwSzQ7EwedFlomQ/qe2 hKgPU0y26HfWMJdo6D4SMQCwRVP2J3t88rzwzFaxca2EBYIIFyfvCriCbNDWSHq0ZPoJ MSpg== 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=zSiFncf9bc1IksnnHanoKbYxCLnTdwlPlYIeXCQuzAo=; b=l3Zkla0h1iHZHUgZqYP1zkeYw6TqnHRuDH8ESBOSh+PqXUsENAUM+kHvF4nXbjwnqd 48sGYAQXCVVKlrVJiSgGeKexHnk9V2y7r39U+ULG8EbGl7ZsBi8DL0TvjgrBceq5AE7u BVBVW6uj3roEHtO6u3ZT8pjbLEhyogrP4ML4v16GpZzUK6C7MAjbZ0abD3Fd7ZFqt1wr j6FReZWg+x8ddh3anpkIwwNa0eQPYtfN3NoznxGfos5kAW5b9lcsMHVk0uvrNh5sYlQT 87ngPrATIsWmFPPrNLYRArohDgD1KiCUa+8+LYU9PRQr1c8IT1OVTfsdWbb7O+J4q1+u unkg== X-Gm-Message-State: AOAM530u5CDU7qqD6gv7q5Q9tl5EQRDMnD4JhwbP2ly1inkICeeh5kwj ZYp+tYN2Y2nO8WRQ5OiMndKJukyyMKSMRQ== X-Received: by 2002:a63:1b42:: with SMTP id b2mr2745121pgm.401.1607095286645; Fri, 04 Dec 2020 07:21:26 -0800 (PST) Received: from localhost.localdomain ([211.108.35.36]) by smtp.gmail.com with ESMTPSA id d20sm2407286pjz.3.2020.12.04.07.21.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2020 07:21:26 -0800 (PST) From: Minwoo Im To: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jens Axboe , Minwoo Im Subject: [PATCH 3/3] blk-mq: fix msec comment from micro to milli seconds Date: Sat, 5 Dec 2020 00:20:55 +0900 Message-Id: <20201204152055.31605-4-minwoo.im.dev@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201204152055.31605-1-minwoo.im.dev@gmail.com> References: <20201204152055.31605-1-minwoo.im.dev@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Delay to wait for queue running is milli second unit which is passed to delayed work via msecs_to_jiffies() which is to convert milliseconds to jiffies. Signed-off-by: Minwoo Im --- block/blk-mq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index 69771ba18f1f..284d103bd0e7 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -1594,7 +1594,7 @@ static int blk_mq_hctx_next_cpu(struct blk_mq_hw_ctx *hctx) * __blk_mq_delay_run_hw_queue - Run (or schedule to run) a hardware queue. * @hctx: Pointer to the hardware queue to run. * @async: If we want to run the queue asynchronously. - * @msecs: Microseconds of delay to wait before running the queue. + * @msecs: Milliseconds of delay to wait before running the queue. * * If !@async, try to run the queue now. Else, run the queue asynchronously and * with a delay of @msecs. @@ -1623,7 +1623,7 @@ static void __blk_mq_delay_run_hw_queue(struct blk_mq_hw_ctx *hctx, bool async, /** * blk_mq_delay_run_hw_queue - Run a hardware queue asynchronously. * @hctx: Pointer to the hardware queue to run. - * @msecs: Microseconds of delay to wait before running the queue. + * @msecs: Milliseconds of delay to wait before running the queue. * * Run a hardware queue asynchronously with a delay of @msecs. */ @@ -1687,7 +1687,7 @@ EXPORT_SYMBOL(blk_mq_run_hw_queues); /** * blk_mq_delay_run_hw_queues - Run all hardware queues asynchronously. * @q: Pointer to the request queue to run. - * @msecs: Microseconds of delay to wait before running the queues. + * @msecs: Milliseconds of delay to wait before running the queues. */ void blk_mq_delay_run_hw_queues(struct request_queue *q, unsigned long msecs) { -- 2.17.1