Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp462662imm; Tue, 7 Aug 2018 23:24:32 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzEx6y3gKtqczUu5aYDMBw28HOUVVlq+mePqusYao0uWskFKdyeLO+Q6d1tlQtV9a3ZPBlW X-Received: by 2002:a17:902:7898:: with SMTP id q24-v6mr1274859pll.222.1533709472140; Tue, 07 Aug 2018 23:24:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533709472; cv=none; d=google.com; s=arc-20160816; b=u6q+saqRXfDMVhI9r3Xef9gUkLM70+/I7FXmV6FJurix3ssJlBxIOhCVbbwKR7AHl9 pTPy/iYJk9Q/685UyMh6XYT12E7EiKzWqOhCWai9PRD4UZSlp6BDd1ISHZ4qImCpXoUf LCurI1CTOSzdLKIq0bwAKexSgEkrjure95eY3Du4+1Njk+oNGbmwemrxmjEwyxucf/NQ RZ2CE9swG8sxq1J2HwaL8PUlfpRjfaR0yvOUAyx7y5AUlzCCUqmJ2aRFDILROrZQMJ/C hwm6KEAJBTFYIHRVc5/yf757GkejahaJSE7cAs8AS+xBxCsi7lWDYzSivgzkmK/yD6GO yf+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=w/M7HthGrZUSmnSLTb74lAfEoAtiwjZD1cIDt65N7KE=; b=KeqUA7Sqk9z56/ypOb9OvuyuFUv6gaPJkgTuWG5nJao0pi84SanhGvnnl3SNiV8LR4 J5uwygrxvoypr2gXrLmNtHTINmZrelXH9X+56AK8g14SASVVo84xc4/F0kAedFyQdtZr zXd866r8zDD3e4JNAymk8v94+BzuO34q0j7z7Oaw/IAGYG1RLveP6wzn3nvXEhsrMwF7 HmU0RuUUjn24muxTslZ2D6poV0SatghHJPkc5i1fwYuYbESyMCt/H3/T6EsE1DrAsj+w hws7ObSLIVm8GZ+f4eX7L7NjE+73OOaAin8fS2H88c9x3wbASXlZ08gs2yU1xJDpP3fE XmaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=ZSrLjQuA; 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=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i18-v6si2600085pgk.595.2018.08.07.23.24.17; Tue, 07 Aug 2018 23:24:32 -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=@oracle.com header.s=corp-2018-07-02 header.b=ZSrLjQuA; 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=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727109AbeHHIlk (ORCPT + 99 others); Wed, 8 Aug 2018 04:41:40 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:48182 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726793AbeHHIlk (ORCPT ); Wed, 8 Aug 2018 04:41:40 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w786IPK4154891; Wed, 8 Aug 2018 06:23:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id; s=corp-2018-07-02; bh=w/M7HthGrZUSmnSLTb74lAfEoAtiwjZD1cIDt65N7KE=; b=ZSrLjQuAFsiDs6i62XvR+reTNzs085c5TjmfbbmGVbbSYpOEeOQ0S1fk2kYqJj+JZPqw Ti4b28j7vcxarInnC4cAq2ss57RQnJjjoldAMxsGV0Xgmpwiagw9eadu/atlW6BLEkFS HQjD0Pp/fsEbMWKvulrr8oRKDtj3P49ZS4q+Yp/J+qZouoEiNxgBSpNVafDKGHuUEPaL rgS5ZAN2S+wj+6OTvbA27VNdzaTfxA8pQW2Bbn6LH/W4Lr4Man684K5n2Q4nEniY0VYy p6hNxjkis5u7KM85icYRm7mPFV7RSY/S3xmpc+mGHrbMtYotaEzwjmfACOjXQmpbBBkX jw== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2120.oracle.com with ESMTP id 2kn4spva73-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 08 Aug 2018 06:23:27 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w786NQMw023627 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 8 Aug 2018 06:23:26 GMT Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w786NPMt032388; Wed, 8 Aug 2018 06:23:26 GMT Received: from will-ThinkCentre-M910s.cn.oracle.com (/10.182.70.254) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 07 Aug 2018 23:23:25 -0700 From: Jianchao Wang To: jejb@linux.vnet.ibm.com, martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] scsi: use blk_mq_run_hw_queues in scsi_kick_queue Date: Wed, 8 Aug 2018 14:24:59 +0800 Message-Id: <1533709499-1661-1-git-send-email-jianchao.w.wang@oracle.com> X-Mailer: git-send-email 2.7.4 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8978 signatures=668707 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=900 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1808080067 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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); } -- 2.7.4