Message ID | 3a8cc957-ea9e-fe1d-f325-ad9ca1aae8a8@sandisk.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <linux-rdma-owner@kernel.org> 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 768F56022E for <patchwork-linux-rdma@patchwork.kernel.org>; Sat, 29 Oct 2016 00:23:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 656162A8A8 for <patchwork-linux-rdma@patchwork.kernel.org>; Sat, 29 Oct 2016 00:23:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5A2E22A8BB; Sat, 29 Oct 2016 00:23:28 +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=-5.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,URIBL_BLACK autolearn=unavailable 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 045422A8B6 for <patchwork-linux-rdma@patchwork.kernel.org>; Sat, 29 Oct 2016 00:23:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S939720AbcJ2AX0 (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Fri, 28 Oct 2016 20:23:26 -0400 Received: from mail-by2nam01on0084.outbound.protection.outlook.com ([104.47.34.84]:57458 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S938815AbcJ2AXX (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Fri, 28 Oct 2016 20:23:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=cxZ0fnmbUfEPX+UwImMU241i1s3SupG/aHrqZUaRRrg=; b=W74G91BW4QOszPvOfE0OTPrM7Dki1rzgplRcATV5fkW08tJRQ3+e03XI7mCkbFZvQ6FCVHqQr2uGIKiSmw+JtvcNHEEdVtmvRBxzfSTf23y81yocGYuYkF38ZVyzAVIY6QcO1wBfotCnaj6c53L130yoGIP/PZ1mNMgWYBMChRg= Received: from BY2PR02CA0025.namprd02.prod.outlook.com (10.141.216.15) by DM2PR02MB272.namprd02.prod.outlook.com (10.141.55.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.679.12; Sat, 29 Oct 2016 00:23:21 +0000 Received: from BY2FFO11FD024.protection.gbl (2a01:111:f400:7c0c::192) by BY2PR02CA0025.outlook.office365.com (2a01:111:e400:2c40::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.693.12 via Frontend Transport; Sat, 29 Oct 2016 00:23:20 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; fb.com; dkim=none (message not signed) header.d=none;fb.com; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.225 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.225; helo=milsmgep14.sandisk.com; Received: from milsmgep14.sandisk.com (63.163.107.225) by BY2FFO11FD024.mail.protection.outlook.com (10.1.15.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.679.5 via Frontend Transport; Sat, 29 Oct 2016 00:23:20 +0000 Received: from MILHUBIP03.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id DC.B0.61581.4A9E3185; Fri, 28 Oct 2016 17:13:24 -0700 (PDT) Received: from milsmgip12.sandisk.com (10.177.8.100) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.319.2; Fri, 28 Oct 2016 17:23:19 -0700 X-AuditID: 0ac94371-607ff7000000f08d-28-5813e9a4bb74 Received: from exp-402881.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id 0F.4B.03615.7FBE3185; Fri, 28 Oct 2016 17:23:19 -0700 (PDT) Subject: [PATCH v5 13/14] nvme: Fix a race condition related to stopping queues To: Jens Axboe <axboe@fb.com> References: <7460e8b2-2cfd-c0d5-7ae7-7f662d89dad3@sandisk.com> CC: Christoph Hellwig <hch@lst.de>, James Bottomley <jejb@linux.vnet.ibm.com>, "Martin K. Petersen" <martin.petersen@oracle.com>, Mike Snitzer <snitzer@redhat.com>, Doug Ledford <dledford@redhat.com>, Keith Busch <keith.busch@intel.com>, Ming Lei <tom.leiming@gmail.com>, "Konrad Rzeszutek Wilk" <konrad.wilk@oracle.com>, =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= <roger.pau@citrix.com>, Laurence Oberman <loberman@redhat.com>, "linux-block@vger.kernel.org" <linux-block@vger.kernel.org>, "linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>, "linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>, "linux-nvme@lists.infradead.org" <linux-nvme@lists.infradead.org> From: Bart Van Assche <bart.vanassche@sandisk.com> Message-ID: <3a8cc957-ea9e-fe1d-f325-ad9ca1aae8a8@sandisk.com> Date: Fri, 28 Oct 2016 17:23:19 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <7460e8b2-2cfd-c0d5-7ae7-7f662d89dad3@sandisk.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrHIsWRmVeSWpSXmKPExsXCddJ5ke6Sl8IRBksXy1n833OMzeLl+Q+s FitXH2WyWDUxz+Le0S9MFssWP2W02HtL22L+sqfsFs8O9bJYdF/fwWZx/sMrJovlx/8xWcw4 v5jVom3jV0aL9z+uszvwe7yePIHRY2LzO3aPnbPusnss3vOSyePBoc0sHpuX1HvsvtnA5vHx 6S0Wj/f7rrJ5fN4kF8AVxWWTkpqTWZZapG+XwJXRvPE+U8F6toqe3RfYGhh3sXYxcnJICJhI bHyzlxnEFhJYyiSxZ71qFyMXkL2DUWLds2vMMEU7nr1nhUgsZpQ4v30LO0hCWCBQ4srCpSwg toiArMT33a/Zuhg5gIrsJJafjASpZxZYzirx6spKsBo2ASOJb+9ngtm8QDW/5jxgBLFZBFQl Op92gMVFBSIkNn2dA1UjKHFy5hMwm1PAXmLlksXMIPOZBTQl1u/SBwkzC8hLbH87hxlkl4TA AjaJ55/62SC+UZc4uWQ+0wRG4VlIRs1CaJ+FpH0BI/MqRrHczJzi3PTUAkMTveLEvJTM4my9 5PzcTYyQWC3cwfj6tvchRgEORiUe3o5w4Qgh1sSy4srcQ4wSHMxKIrwJr4BCvCmJlVWpRfnx RaU5qcWHGKU5WJTEeS9GfwwTEkhPLEnNTk0tSC2CyTJxcEo1MHK/Wql7duFN/gyb6bMduL03 nPS+mcHe+ULpX7AYW5N27bcTE22rLX/q6cm/Le9hOvJlsbELW33jVwZ/jmr3F+5/6ucdyHeJ Ef56/tt9k9NnZFIT7oRdiF03N+3l3aVnus6wZiZMS5u+cOahaeGqOyO6zrzl37JG0mnvy935 mkm/opS2zTrmtFaJpTgj0VCLuag4EQAgv8tf0QIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGLMWRmVeSWpSXmKPExsXCtZGTTff7a+EIg7MHlS3+7znGZvHy/AdW i5WrjzJZrJqYZ3Hv6Bcmi2WLnzJa7L2lbTF/2VN2i2eHelksuq/vYLM4/+EVk8Xy4/+YLGac X8xq0bbxK6PF+x/X2R34PV5PnsDoMbH5HbvHzll32T0W73nJ5PHg0GYWj81L6j1232xg8/j4 9BaLx/t9V9k8Pm+SC+CK4rJJSc3JLEst0rdL4Mpo3nifqWA9W0XP7gtsDYy7WLsYOTkkBEwk djx7D2RzcQgJLGSUeH6xmwkkISwQKHFl4VIWEFtEQFbi++7XbF2MHEBFdhLLT0aC1DMLrGaV uDr9Elg9m4CRxLf3M8HqeYFqfs15wAhiswioSnQ+7QCLiwpESGz6OgeqRlDi5MwnYDangL3E yiWLmUFsZgF1iT/zLkHZ8hLb385hnsDINwtJyywkZbOQlC1gZF7FKJabmVOcm55ZYGikV5yY l5JZnK2XnJ+7iRESM1E7GK9PND/EyMTBKdXAqM+q/XXHz1/bqqMaUnsXPz7b/Fzo5KfiA3k2 DakhVd9Na43/8MztWbPTxkBFT0HwQ7jrQheWi9PO/c00SnqxQv/hjc/XV72dkJ179/jEcGmJ SKfa5Tdqg9O26FVqhbRXGruuPBmQIWietMH9X/+T1dOWdc0O2smotjyaUS5IKXJ3ry0Xd5eS EktxRqKhFnNRcSIA0zK4/EkCAAA= X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.225; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(189002)(199003)(5660300001)(83506001)(33646002)(626004)(87936001)(65826007)(53416004)(2906002)(106466001)(6916009)(229853001)(7416002)(11100500001)(2950100002)(65956001)(65806001)(110136003)(36756003)(86362001)(230700001)(69596002)(77096005)(189998001)(8936002)(64126003)(4001350100001)(2270400002)(47776003)(19580405001)(23676002)(31686004)(68736007)(19580395003)(356003)(586003)(31696002)(50466002)(4326007)(81156014)(50986999)(76176999)(8666005)(97736004)(7846002)(54356999)(81166006)(8676002)(92566002)(305945005)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR02MB272; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD024; 1:wqEcl84Cx1QmP7uVP0iyvyKAwf/9/AUYlsVoAjpsWnsKrMLm4zhqwpGl3Yx9nwykoFWC/nHrfZh73gwQ8Zwe2nkYEuAIJnUDjsJzeCzt0O4viw6ELuoIIhB6xCZdhqNeefRlrHjFguPbgOWo2F0gu5Iw3tnsM0XZGKDa4uaQBMqaKYrGsFKYWsUhhP2IPS6lHWtNoggTNNesygu7Q5WkuGFD6rTdmrfBm+6J/+BJX4qMq6s8qeWmqfltkQ0b3PEyktDKttTvD4bEAQZbnR7ZhyqFimBbIzynZF+Rq9wTQ8Uy4VG//epxOnywutu0kZNf/K+kKgeYRK2EfOp4PIjVIbHOrKvwdB5BxcEro2G2n/uu4DyDzbR3oyWKYiGhq9W+zozwdDSIen3fexH94Pzq1r3n/4UrN4gB4sG0f1ZZJE1XkjtY8LAor1NeyvL0F5vj7G9A0SKVkStObixAtlT307bQwT6tuU7OULJKHy/P5sBbgw5SwnJ45j/50UwGE21i4kPfyQedpjHD8siuTnyhcOwhWm4f1pdw4AuEC0OWbdA= X-MS-Office365-Filtering-Correlation-Id: 23f7e752-0c09-432f-cf29-08d3ff91c982 X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB272; 2:/w00+k+eggAaYOTulLhXi1OSiBBJ635oC/pX4edyF3WBO6o2v06lVZvyplgQNQnNE3Cx9/0jompi/bTsq35d1TgQLP4BffIvkC7GxAGUb1szz6AXygLIKqwwE6TrMfMJN7T+pRpr11TX7lvui06Doc20LUTqraNa5ofxMm8oGr81lU7lIMV2B6w8fTJhuO7D1N09ebCUz6GMTPpxFVzW6w==; 3:7dMYPevE2idNXCc5ctmIkJ2xrPfImf0I5i6pnZkXOFlBlxK4u5gylhBSK9EbHe4R4HhQjrDa713PVW5PYdCRwczAnEjUgTifZtXmWxLKoeQbakkU1TueZnlED6Cw6Kz/A49Xl8M36J1+5H5h5EbIXX/AXa+om9hur8drvr373kWl/rfr7V7NWUWVyvUs4ie6I3StO9e/AqBTGILJuxlzggNTW0rleoiCsDQdaHc/Ll1kDdc3M4gR/TEEEMondIF/sVBt8YZF9szyKKD4fJLvXGYn2lmyp7P+d7THphxmlYs=; 25:Xw7sUFYj8/zVoZ4mu+kHDMlwZ0x3lbEsSJPF/HgxGt/97C6TvUu1wuuw4Avti5SOp0fXDXtLKlSMovntdcTs/OzX1nj+Isbs5kDG94lIspeap3dtw8NN+hsOcyvZwJPqOsvAp8hu4RMcGTZ+ef3OPtLs5XyJT+4AA6o3PpLH59b9n+MhG4XACUUQzB+TPxsesGXBE1Ixja36cqvGm7ZPAQAk6KoiHSQWtQsH7K3oxI+QpYftMEQdBffNJq2kB4rAarWHY9M5Y/e8ANP/2QynyMeofP6xw9FL0BYsifRK0WhYyBPlQwrHdKeunzvVX56wlxiuRduh8GNSO/bKocvkLdafvd+om6eMz/RcEHbFRYHz6VuW/XnR4E7qkboOIzEparF1v+P1zjJXY6YHaRg5LUJefgWpTOBE FkiFr1eWh/y2bFOn0uAjCOfotGuENwg0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:DM2PR02MB272; X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB272; 31:0hef2TanWbnuUBy+eAK5Nm8CFd7ouwSpvS+sTtwCzCcMv8RvJXjpgaQHJS2Mjo94f0s8/0RF03rBAmf0hOMh9Ttn1sVAMG9lmV8Ko6+j7X8Py+ITieb0rDnp8T78FTmVL8/APCBdcaTRzVkGbyYzG59fwjltkOYWiE7hDus2D12xJeNEhEwhglIwgOAc5WFAOf5MZqp1fopFoDH59i6Q1dAbCuIn93oqEpjTqfSSbma6XCQv/HdFi2IwIyaRjCi5; 20:hAmcOp0J1f3f+KCHyn/slSolIKZfTFUr1kuAV8V+lfLK5L2SukfBcrudWh3BSKt6TP5w/lMTxdSi7gIqYSS5WrzbX44IJ6BbA4lwTORRmm1tW7MfkQzK+wa86lO2u8g0+N7ruH6Z43lqd1ftlfB8Q6ue0toziW4M+ZMwnRDovtyRzmUVRkMXVPm8wyUe1g90aUW4Jo/6S9LiKy+7ymOvRw5zcQnfFyomSROsp24hi6bf+oFLllTtpGR8DtNudRwYXfHarG7BN9RTeyIWSu+WZJcZMOzKvuXW0iIo5prok9d+lgczEUgne2FERC32yDRtusO6mjM+TLa5Y/+I4aQArMh8ok8/Uou3ifvMngve2Em5NKMADKXD+9yNmWk0eVFRRdLxzGP63y5Uvp32BsJIvo3qYny0XPqelbj3GZGp73fBoAMugLN65vw6xEAhodBlbxzmVbU5dCPuDyt4Eu/kcrlIL6y/kOXBabQZWN64wEpPXuroQmdf172rM2DSGKyW X-Microsoft-Antispam-PRVS: <DM2PR02MB27269CC484DBC4BEBCF024281AC0@DM2PR02MB272.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(42932892334569)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13018025)(13016025)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:DM2PR02MB272; BCL:0; PCL:0; RULEID:; SRVR:DM2PR02MB272; X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB272; 4:6m7zJx4AzWtugQW3aWGB4eJhf7yoh9x8WILFZjknW4s+r943ZWvXHuwba7rKMbR80NmOPrE0Kkqvv4Aff4rXyidTYeFckPBejQhbdogGKjJjAG2jV2rt4uOfKbR53ht+2TtN+4eJ730h2BAx3Lk60u3WTfwHoy5qj+uVfwsofmFQrOn6zlkqwrSLk3GQ2kGSwNXCo8KINk26s6Qi/Cf9h0ebbnqVMUBIWpedb8LoSlEixtcXVfPgyj0+ub7q5kCDOIU7yJ5N6xbEt+klsNZ9WkGY63Mqwrw8DEvgWEqltCUJItUB3SNHqiug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ZWFnK2PddmVMUMFosOOuOFq7ZAkiOD1OsIpojMjEuZAxYeG8uUQpJkJesXzHl2j5Wi9rkICHRoVGinqU9GX270NOmBUqgifRX7vyqUUqmWOTebbpzRYd89VDZr9JxU/ND92lWbX/BvUZb3qxMWpEz2kXQjaHUwXMDCt4AoeRugS4B9LU2KQUnh9JXyxPf8Cc9eopXB0avLBMyH4hZSLNlQcDMGYusKGLYF1r94YIX5F1MJi0PdVTP3S/BQa23GW/2K0kYsoUmn5ydpnD1oASUVJrUU4+FEBHpXL2sJOqQn9u0=; 20:MblpLOlrxP+WbOIpRfSZteXyB7Bh8w0kjdj4WMKohcHV/yL0zNuCmnJyXqigE/ZoU5g1hFGcixVHw/3uIfsqfyb9kcstdmaFlg5tB8vxeOxOZcbNMnW0DspOP889AKmmOtg6uxyUzHxqIVC8DjyoB/xR9RE9JRmcUwxdP/VbR7h3sc74JWpdZ1zlEs0AWzgBReNr95syECJFiaR2MV0Z+SCYdVdsGBImZFRKkadFxAQe6v2DW48VqCgqE9LvpNr6 X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2016 00:23:20.4413 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR02MB272 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: <linux-rdma.vger.kernel.org> X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c index 8403996..fe15d94 100644 --- a/drivers/nvme/host/core.c +++ b/drivers/nvme/host/core.c @@ -2083,7 +2083,7 @@ void nvme_stop_queues(struct nvme_ctrl *ctrl) queue_flag_set(QUEUE_FLAG_STOPPED, ns->queue); spin_unlock_irq(ns->queue->queue_lock); - blk_mq_stop_hw_queues(ns->queue); + blk_mq_quiesce_queue(ns->queue); } mutex_unlock(&ctrl->namespaces_mutex); }
Avoid that nvme_queue_rq() is still running when nvme_stop_queues() returns. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Keith Busch <keith.busch@intel.com> Cc: Sagi Grimberg <sagi@grimberg.me> Cc: Christoph Hellwig <hch@lst.de> --- drivers/nvme/host/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)