From patchwork Tue Nov 15 23:32:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9430679 X-Patchwork-Delegate: snitzer@redhat.com Return-Path: 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 5E49D6047D for ; Tue, 15 Nov 2016 23:34:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4C35628C36 for ; Tue, 15 Nov 2016 23:34:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 40EE928C51; Tue, 15 Nov 2016 23:34:40 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BDB0928C36 for ; Tue, 15 Nov 2016 23:34:38 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id uAFNXDdD015889; Tue, 15 Nov 2016 18:33:13 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id uAFNXCTF026223 for ; Tue, 15 Nov 2016 18:33:12 -0500 Received: from mx1.redhat.com (ext-mx08.extmail.prod.ext.phx2.redhat.com [10.5.110.32]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uAFNXC2T017484 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 15 Nov 2016 18:33:12 -0500 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0084.outbound.protection.outlook.com [104.47.38.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 03F96C05AA56; Tue, 15 Nov 2016 23:33:11 +0000 (UTC) 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=fjsBVP0sgcZXX+0iNTenjcf8/X77+GYGHRorXG3WEE4=; b=mtzvNspexu/5DgdQkk9Lcon5amt9Ei/BQqycrtw2CPvSXMIIBWzBeq8kNgbTa58FpE6lT0VYJmNF0GbMboHs+ye6pPLqNdiw2Vs7bicgc571QS7MmcuhtHPefkiduN+E973x91dNzsYZr/9Vf5zFQvbOC6pJhK5NtcOM/p36OgI= Received: from BLUPR02CA056.namprd02.prod.outlook.com (10.160.23.174) by BLUPR02MB1746.namprd02.prod.outlook.com (10.162.213.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.10; Tue, 15 Nov 2016 23:32:56 +0000 Received: from BN1AFFO11FD020.protection.gbl (2a01:111:f400:7c10::159) by BLUPR02CA056.outlook.office365.com (2a01:111:e400:8ad::46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.707.6 via Frontend Transport; Tue, 15 Nov 2016 23:32:56 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; redhat.com; dkim=none (message not signed) header.d=none;redhat.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 BN1AFFO11FD020.mail.protection.outlook.com (10.58.52.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.5 via Frontend Transport; Tue, 15 Nov 2016 23:32:56 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:2904; Count:19 Received: from MILHUBIP04.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 4A.93.03811.8799B285; Tue, 15 Nov 2016 15:25:47 -0800 (PST) Received: from milsmgip12.sandisk.com (10.177.8.100) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Tue, 15 Nov 2016 15:32:53 -0800 X-AuditID: 0ac94371-71bff70000000ee3-e9-582b99787068 Received: from exp-402881.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id DF.91.03661.32B9B285; Tue, 15 Nov 2016 15:32:52 -0800 (PST) To: Mike Snitzer References: From: Bart Van Assche Message-ID: <8357d3a6-f1bc-3631-6ca4-fc78253640f7@sandisk.com> Date: Tue, 15 Nov 2016 15:32:51 -0800 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: X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrFLMWRmVeSWpSXmKPExsXCddJ5kW71TO0Igx2rxCz2vpvNarFn0SQm i7aNXx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XnJ+7iRESaFE7GK9PND/EyMTBKdXAyPCq5uy82fZZvtdVTdYpVZxZ rPm/Zdqj5QaVBYer7puXHGz8sEzjrCT7oQWi5f892Cf2BbJfNm+o+nPAaaIbs9a2Sxvz1t2w qd7i0ni7+OOeZQ+9SlVLviXlZdx+UZoZfW+LQ7+0QpvG7Ej5p7sWVbs1/X7dtv/nhlmxc814 Ob6cOvRZ+7v/aiWW4oxEQy3mouJEAEQ3HCvkAQAA X-IncomingHeaderCount: 19 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)(7846002)(76176999)(356003)(36756003)(2906002)(81156014)(31696002)(81166006)(65826007)(50986999)(54356999)(23676002)(189998001)(53416004)(64126003)(6916009)(106466001)(8676002)(2270400002)(83506001)(31686004)(97736004)(65956001)(33646002)(47776003)(4326007)(65806001)(77096005)(68736007)(5660300001)(50466002)(87936001)(8936002)(4001350100001)(230700001)(305945005)(626004)(69596002)(92566002)(86362001)(110136003)(2950100002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR02MB1746; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD020; 1:+P00qtXREZJl1Av0iQhdIb5ywN2M8cc/qlTHbyAPKvi8nBQ2kmKfADiaknnTAABDZfN4a6z6J/KNhpOqjAgJS8wN+6WbCbjVpaihgfXCScf9l6QF0bZGjVfhYT7dwikfIpVXewnPUf+bPbbE0tujCsGorW8xeTk8pcq+U1br6RId3iif9x34rieMHDFZKJsZ/DXWsOxJc6NAdD+Ydjtph89EZdZPIVN5glq1ofbjMOpNTGM4QITb9Yq81G4NPSuCL3PIFfcm9KdL/30wu8AGyp1DHr1jrpLe+qpuVz5opaT2HwXK0S8nv9+u0Ffsf5UcePUU777G1bjNAPXnDvi5jUk9VKNtupLQ4p2q1szibGj6sK7pg+bRrLMOa6lIMHqnT2M4UE901n2ImuIoCmZu8sIebUnsoHpYsqNM5QJvrwCK7T6rAPdajWmCegs4Kv2X6vpcSsOooBoBA+cmxI5xLLNi+dcI8wPd6QdEUwO31LFFIvDgc61CFM5fGu7CGtz+ X-Microsoft-Exchange-Diagnostics: 1; BLUPR02MB1746; 2:dGntyb3GME8PA8Sd7iWshDO7FlSiXPpJEiNLA/y8PQtuYRMNWBHf4Qxo2yrLO67n0m9pFgLX0yJMLMhg2RhddoMOX7an6KYO2m7ehvBveKbXbWjlAWnz+2xG/3YKu+vWKmlExySo57uGfhpZyo5hyi0DmsDHI7X+j4w2ciarmzQ=; 3:ZhATc8csOHns/walzkx1wxkBUfBA2d2fZvWqDVe+b+GwNMUmlZW9keBaNRtYBhlWL4rocp/Vwa2DyPEEekKeOarzsVt2LMGm7cepL3HfFwnlkLt9XlLA2SWXnMx5TguRWrPeVWTDYVEEiGXThmOzgOf4fXjkwKACvxwZrpa2AOaxjhBvf3FSQkmUhVwbxd+QSeSE2mnOBUXfZylTt+vU6OIUjh7g0GNZmkzaYeLQHhjb6ZWEaKAWoxlo8Y2IwZIoyqKu2HE78PF7031mrvGs039AG+aQ+Yqe1v9Mvo4fYfY= X-MS-Office365-Filtering-Correlation-Id: 4a9b020e-ee12-4a19-7e2e-08d40dafba6b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BLUPR02MB1746; X-Microsoft-Exchange-Diagnostics: 1; BLUPR02MB1746; 25:8gDNExY9p7fdpdE4UuN+9bLVeqYRQrX21JhAD8Ef+M2BatLodvQooEJP/u0jR7sr+9h7W5neLbzvdIDJYcCmUZzMqzzOCwZQ3O3SwooD89aeVL95zxdZCxcQNBjEUgmwB5PwMUwUSaytbqnm91sDAjLdNvMwHC2Xayd+xMtTf2OwXxViADinwHZgSLC297sP/v29k/J1kS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MePPEsezDUrycivEi X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6060326)(601004)(2401047)(13018025)(5005006)(13016025)(8121501046)(3002001)(10201501046)(6055026)(6061324); SRVR:BLUPR02MB1746; BCL:0; PCL:0; RULEID:; SRVR:BLUPR02MB1746; X-Microsoft-Exchange-Diagnostics: 1; BLUPR02MB1746; 4:R5QII0yQ6F63OcTt6sEk71RpLKoHaMGNGJ8T610IAWsfdowW10tRyrZQ7yxy6qPJVT0V1Gjrjf40gr5Uxmnxkf9TWCfRdmugMjJyPO/5piW6yiy84rarfT685w+zCUMm9LRwMULgUqDN9jK8krnkArKyeQtF85YHRr5PKY1MvtN0tJti3yxAQmC78vYqbCgdIncviWSxa9DXU0ykJvC60KsZYNSa2CGnlBDRD52ETnAe033zxmCKlGY9JidBE/kGtgSDSeAmjtoN90WnMnCZRMwMoFn4CpE3Uj9q+7LrPE4e6jvP06SQS+oMm8AZvPNzG1CGfwgCV/msmMspU00MZn7vgrjxtRcT4swHzfFH4qtCUjZR9Nwz/U32epVxj6sPA8gISJCDtnc/3N5JV/fAgF5P1NUiuAzvpSjNjqO9oIrCk2+WKV580PECJPoS7sLQ5IiXwL0zu9t74i8J4CowPuwqT0emLaySjqIesVMgB3otMYVN7ImFRuPYhxUkdyJhWxYuoildTT3cYUUoYJdiCw== X-Forefront-PRVS: 012792EC17 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTFVQUjAyTUIxNzQ2OzIzOmZCRGYzaFJaYmd5NjVqeTZUcFQ3SjlJdE5I?= =?utf-8?B?ZmY1REJzNkpIbnpKNG9Ib2dtaVNpRExxRFpLTlNVM0tyZm9rak1nWXBwZDJU?= =?utf-8?B?cU1xMGpVeFFZQ2FEUXFxODRIK2JBR3JIYnRuY2xPdmtuMWVPZGxGZXVwRmlv?= =?utf-8?B?QitpZzRoS3Z1MUdjK0ZsanY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DM8FYz+6X9rp7A/1muI+vpsbE9M1pfl7WvNpVc4Tyk0CZE1cL84k3w==; 24:BmcbunNB7JE/lTOGxeuoJpN/3TLrhAKLO97AvsL7V6sF3eX0K7WZ0MBUU0cAsaNr+mFjeGUNml3ltMapMnIyoWlfe414qGHg5jkgBbz9bvY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR02MB1746; 7:6FwEdNh4uFkPJ4ZX3OH2CNk9bzhHVOOKMUNfQA1zZ4T+q9upi4mpk/pTkiKVdKpeg7V/5Rlme2M9Eq4s81Ca4tfnJRgJ3jVF1p9mMH/n+Y36/QWxHdJmlVDRihSKGtZEwEjnQF1xt2KaqdBuCRF86ERzbFMloWfa5oR/2A162wd9zVaOwwULNSaLJXrnejwqkKshfVTURg3gPoyEE8A2TBeB4U1v/SNej5g/yUWtcwgj9Cg17uFXNJAr08FQPXn97YA4RrgADivhxRowBxol8sQXGSO4ujGCDm9OAzgkum0xbo8io9rMY87dtHcGRG+h469G5cRQVziFRj4uoAwCkeQZ1e5omjd3/aQeoUF+X6g=; 20:j/1mqYI5bCH8musxcZ3FdIi0EpW2kGzOlb6LajkFcttCC63YKqbDBr/s/7LTDVsFhjY2K0eQGTr4tVpeX/qc1xHZP40cqxGzW9v8wLNb+NmrmfFvurz00EFSdNF3bD72jsuhGmX4KfMhE/h/tybHOBNAQVxcMoIaBSXUe+IjTlnkGHo5oY1MIpfJNfm9MRjiz1qoB6n+e39Tjk5czr3H2ZoCGUNUq2EdwrHbFdOxRB5THT7ungkzf+g1Ltm8nk6v X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Nov 2016 23:32:56.0539 (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: BLUPR02MB1746 X-Greylist: Sender passed SPF test, Sender IP whitelisted by DNSRBL, ACL 198 matched, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Tue, 15 Nov 2016 23:33:11 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Tue, 15 Nov 2016 23:33:11 +0000 (UTC) for IP:'104.47.38.84' DOMAIN:'mail-bl2nam02on0084.outbound.protection.outlook.com' HELO:'NAM02-BL2-obe.outbound.protection.outlook.com' FROM:'Bart.VanAssche@sandisk.com' RCPT:'' X-RedHat-Spam-Score: 0.368 (BAYES_50, DCC_REPUT_00_12, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS) 104.47.38.84 mail-bl2nam02on0084.outbound.protection.outlook.com 104.47.38.84 mail-bl2nam02on0084.outbound.protection.outlook.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.32 X-loop: dm-devel@redhat.com Cc: device-mapper development Subject: [dm-devel] [PATCH 1/7] dm: Fix a (theoretical?) race condition in rq_completed() X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Virus-Scanned: ClamAV using ClamSMTP It is required to hold the queue lock when calling blk_run_queue_async() to avoid that a race between blk_run_queue_async() and blk_cleanup_queue() is triggered. Signed-off-by: Bart Van Assche --- drivers/md/dm-rq.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/md/dm-rq.c b/drivers/md/dm-rq.c index f9f37ad..7df7948 100644 --- a/drivers/md/dm-rq.c +++ b/drivers/md/dm-rq.c @@ -210,6 +210,9 @@ static void rq_end_stats(struct mapped_device *md, struct request *orig) */ static void rq_completed(struct mapped_device *md, int rw, bool run_queue) { + struct request_queue *q = md->queue; + unsigned long flags; + atomic_dec(&md->pending[rw]); /* nudge anyone waiting on suspend queue */ @@ -222,8 +225,11 @@ static void rq_completed(struct mapped_device *md, int rw, bool run_queue) * back into ->request_fn() could deadlock attempting to grab the * queue lock again. */ - if (!md->queue->mq_ops && run_queue) - blk_run_queue_async(md->queue); + if (!q->mq_ops && run_queue) { + spin_lock_irqsave(q->queue_lock, flags); + blk_run_queue_async(q); + spin_unlock_irqrestore(q->queue_lock, flags); + } /* * dm_put() must be at the end of this function. See the comment above