Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp602260imm; Wed, 8 Aug 2018 02:27:07 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyuhs0bQrcK5z/+hIFlHTtCE5neZt1Z8U805VnC3xrJ5izyoKEHVCVaDsZVkovPmlJSVpXx X-Received: by 2002:a63:4d5:: with SMTP id 204-v6mr1770198pge.129.1533720427405; Wed, 08 Aug 2018 02:27:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533720427; cv=none; d=google.com; s=arc-20160816; b=vEyS9gqceNa7zqzrittMa0ngXj0XAbV8SFhGqhXe6oKSkgO2pWk0UhYIK4z5XYhWDM FDRIsTkBcp81FbAiBTzloq4BKw4l0bbggUV9jb/5JNGDmbZFU5Re+QKWW4HcRIcN1/IS skT13zRN2b35/qcA4TOi1bkCWfULaL8CjpdK2H85Jces2Bxf9cQPgfTc7uuyi3a5iFbq 6QhpM7Yan/ISd8EO/6ToN1Fcoc0mOSCBWDwcVtWRYHdU8A398g4LVfVzJHLy7JcT4VUG tIcAAzlld8yTzVccLJo7enVYbw2kfp0p9HJhCxvxTBfB+GoYrCIMkfFLJ5LvbC4V2jaf lrrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=Zxse+zc9z65NaeMAMz7lunMRHw8n7CK/Braa7puNL9c=; b=xQf+LqQaaN+LIikWmCQmh76ZEIFASXTDN+lFOuw2DCf80ZmrWPDE0zQADOlUS/rQe+ jtLE8PJyB+TvxX/mn0/6mui1O0gWMd+0ZU58GiKR4ZeTUDxGXuyVf+ZV9tiOjv5k1Uec +hhbFhopqWYSng8GzMt+usfHpndSOmaPrdBN7gkG7yPczBfRLq0R6MBLRBigU4d5+YRe tYbBiLBVH/04tysyR94eSMS6L/gbdNn+6YGL+Dn5hCYbyazECWyS4TPwzlndM35OvoiS 2IUOKkSlWOtLKACDU/oY9OmnloHHl4ku89B5etk3hSDvI4Hsfj377YwPEFQJu7LA0XTE cU9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=diFYTH07; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id r11-v6si3107238plo.144.2018.08.08.02.26.52; Wed, 08 Aug 2018 02:27:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=diFYTH07; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727523AbeHHLoX (ORCPT + 99 others); Wed, 8 Aug 2018 07:44:23 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:36604 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727187AbeHHLoX (ORCPT ); Wed, 8 Aug 2018 07:44:23 -0400 Received: by mail-wr1-f66.google.com with SMTP id h9-v6so1392629wro.3; Wed, 08 Aug 2018 02:25:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Zxse+zc9z65NaeMAMz7lunMRHw8n7CK/Braa7puNL9c=; b=diFYTH07YNcZH3ywPMzHKWqWsXPKekJJUI9lQhgSm83FgKU6FY2CHzcLsVEmfoanU2 HFtNovljHPth2gQ8FvSL20edYoSnCYq3lBlJNkFcwa0VU9gUPhSlW7TShMSTQ5QOMkxX ZXY+oTGoH+l+TsSt+yJJGDeoa61LNc9vsuC+p6T84T9Xz/6yiVfvkHw0xuv3Ka2VFxwE jXt4DB0u0knbH2OS39j2luuMo5Y0ZWAEWrJRIMZMk1uQIV9ego7LEldPheLz4rb4GSpH +vrjGbMyuIpmvyXOfQ+5nScll0OOBJTiKjVv/fJYpJbHHYWEVrQ4dSk9NKKdM7eZEcGp eRFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Zxse+zc9z65NaeMAMz7lunMRHw8n7CK/Braa7puNL9c=; b=XaRsVVSSHvMCSbdFsXCrjc6/QsIA/TPnKwMjJEWKPFMqa/RdayPKzhO57FW+9SAgbR NKBb628weBQDz5fK35es7vwJA1vFtYYpJlE42aqlMHp1m4+N9zAu9f1ap4okOdcBC1qZ MnXW0zBoikcEdkL92/l9JFM/eBo5ByM5YBmixzhxlbBQqCFU6bubEYzms8qlAZKkUlLr iRFq6bJpsr9dpAE5Hb4Nr888+imqv6u9uez/a0DWzoSVkCT7KCn7nWRN2EejX8issTOg bkYys8KaCko+6A7/wcAPWZkND/1y1v+ztAnqA+9y2tCDozxRr8Rr+tH+PwpQ8YRKhpMJ MaGw== X-Gm-Message-State: AOUpUlHJKeW+ncsK76V8HocXmIMJLgm/gxyYA6OzwhRb8YNdkLvhR9AB d/LIvc56pKEdSYShQZrMwU0CqhDxSPLqmqzCU4E= X-Received: by 2002:a5d:5201:: with SMTP id j1-v6mr1328014wrv.198.1533720332055; Wed, 08 Aug 2018 02:25:32 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1c:9c8:0:0:0:0:0 with HTTP; Wed, 8 Aug 2018 02:25:31 -0700 (PDT) In-Reply-To: <1533709499-1661-1-git-send-email-jianchao.w.wang@oracle.com> References: <1533709499-1661-1-git-send-email-jianchao.w.wang@oracle.com> From: Ming Lei Date: Wed, 8 Aug 2018 17:25:31 +0800 Message-ID: Subject: Re: [PATCH] scsi: use blk_mq_run_hw_queues in scsi_kick_queue To: Jianchao Wang Cc: James Bottomley , "Martin K. Petersen" , Linux SCSI List , Linux Kernel Mailing List , Ming Lei Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 8, 2018 at 2:24 PM, Jianchao Wang wrote: > We don't use blk-mq start/stop hw queue any more, so no reason to > use blk_mq_start_hw_queues which does clear_bit, replace it with > blk_mq_run_hw_queues. > > Signed-off-by: Jianchao Wang > --- > drivers/scsi/scsi_lib.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c > index 41e9ac9..7de0f26 100644 > --- a/drivers/scsi/scsi_lib.c > +++ b/drivers/scsi/scsi_lib.c > @@ -371,7 +371,7 @@ void scsi_device_unbusy(struct scsi_device *sdev) > static void scsi_kick_queue(struct request_queue *q) > { > if (q->mq_ops) > - blk_mq_start_hw_queues(q); > + blk_mq_run_hw_queues(q, false); > else > blk_run_queue(q); > } Reviewed-by: Ming Lei Thanks, Ming Lei