Message ID | 719b58ac-3e7e-80fb-d5ca-313559a399fe@sandisk.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Mike Snitzer |
Headers | show
Return-Path: <dm-devel-bounces@redhat.com> 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 B76F560238 for <patchwork-dm-devel@patchwork.kernel.org>; Fri, 18 Nov 2016 22:28:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A68F629A0D for <patchwork-dm-devel@patchwork.kernel.org>; Fri, 18 Nov 2016 22:28:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9B25929A27; Fri, 18 Nov 2016 22:28:30 +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 mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0727929A0D for <patchwork-dm-devel@patchwork.kernel.org>; Fri, 18 Nov 2016 22:28:29 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id uAIMRKLO025888; Fri, 18 Nov 2016 17:27:20 -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 uAIMRJMD028194 for <dm-devel@listman.util.phx.redhat.com>; Fri, 18 Nov 2016 17:27:19 -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 uAIMRIgm019437 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 18 Nov 2016 17:27:18 -0500 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0042.outbound.protection.outlook.com [104.47.38.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 84140C05AA40; Fri, 18 Nov 2016 22:27:17 +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=OU4V8y+1YNKNi5h5FAgcrfP305LbXiNkl0hr7s9oFEKxhCYgYuz157IhyS/FZgx6/oG5rGJ6dQC/fuwWSJ/kWIYBxD7lPRh9+G3KNrU+t8VinXBfW4wqePTPGMej2lGKcsr3OJ0iJFQnDwXjaDWA84p1fe2d9Rb2Ed7RbXyAUcA= Received: from CY4PR02CA0030.namprd02.prod.outlook.com (10.175.57.144) by BY2PR02MB1751.namprd02.prod.outlook.com (10.163.27.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.734.8; Fri, 18 Nov 2016 22:27:15 +0000 Received: from BL2FFO11FD016.protection.gbl (2a01:111:f400:7c09::180) by CY4PR02CA0030.outlook.office365.com (2603:10b6:903:117::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.734.8 via Frontend Transport; Fri, 18 Nov 2016 22:27:14 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; suse.de; dkim=none (message not signed) header.d=none;suse.de; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.21 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.21; helo=milsmgep15.sandisk.com; Received: from milsmgep15.sandisk.com (63.163.107.21) by BL2FFO11FD016.mail.protection.outlook.com (10.173.160.224) 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; Fri, 18 Nov 2016 22:27:13 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:2881; 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 11.68.02899.03E7F285; Fri, 18 Nov 2016 14:18:28 -0800 (PST) Received: from milsmgip11.sandisk.com (10.177.9.6) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Fri, 18 Nov 2016 14:27:09 -0800 X-AuditID: 0ac94369-5f3ff70000000b53-1f-582f7e300652 Received: from exp-402881.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id A8.21.02804.C308F285; Fri, 18 Nov 2016 14:27:08 -0800 (PST) To: Mike Snitzer <snitzer@redhat.com> References: <32edbd52-5b1a-b093-0195-2ec6fa73cd6f@sandisk.com> From: Bart Van Assche <bart.vanassche@sandisk.com> Message-ID: <719b58ac-3e7e-80fb-d5ca-313559a399fe@sandisk.com> Date: Fri, 18 Nov 2016 14:27:08 -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: <32edbd52-5b1a-b093-0195-2ec6fa73cd6f@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrNLMWRmVeSWpSXmKPExsXCddJ5ka5JnX6EQcdrFou972azWuxZNInJ om3jV0YHZo/3+66yeWw+XR3AFMVlk5Kak1mWWqRvl8CVMWX7D8aC1VwVz06fYWxg3MfRxcjB ISFgInHpfU4XIxeHkMBSJomdl3qZuxg5gZxtjBJ9f3hAbJCa60+es0MULWaUODhxJxtIQljA UWLJhrMsIINEBFQlbk1zgei1k3i16gYTiM0sECpx/eNPdhCbTcBI4tv7mSwgNi9QzbKOZkYQ mwWo9dDGTrCRogIREpu+zoGqEZQ4OfMJmM0pYC/Ru/MqG8gqZgFNifW79CHGy0tsfzuHGeQ0 CYFJrBIzb/5jgbhBXeLkkvlMExiFZyEZNQuhfRaS9gWMzKsYxXIzc4pz01MLDE31ihPzUjKL s/WS83M3MUKCPHMH490n3ocYBTgYlXh4JUT1I4RYE8uKK3MPMUpwMCuJ8K6uBQrxpiRWVqUW 5ccXleakFh9ilOZgURLndbv3JUxIID2xJDU7NbUgtQgmy8TBKdXAmLWEf9Pp+RuurWF7x2+W P/cyh1BzuFve3DULNZyfXFsu72NU/NMncpJOYJlJ4WIFDv5TjpnLmjmML0xoXPS6bprlylOF 83vvmoTaO65hYkteKPL7YEvqv/+hFbYPYqzzJ24u7V314QWr+yczvjt90hPiahQ5lsj2X70q 3qwcsLt6XuMdn+C5SizFGYmGWsxFxYkALhgesW4CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrCJMWRmVeSWpSXmKPExsXCtZGTTdemQT/C4M8pa4u972azWuxZNInJ om3jV0YHZo/3+66yeWw+XR3AFMVlk5Kak1mWWqRvl8CVMWX7D8aC1VwVz06fYWxg3MfRxcjJ ISFgInH9yXP2LkYuDiGBhYwSS1/PYQVJCAs4SizZcJali5GDQ0RAVeLWNBeQsJCAncSrVTeY QGxmgVCJH7NnM4PYbAJGEt/ez2QBsXmBapZ1NDOC2CxArYc2drKB2KICERKbvs6BqhGUODnz CZjNKWAv0bvzKhvETHWJP/MuMUPY8hLb385hnsDINwtJyywkZbOQlC1gZF7FKJabmVOcm55Z YGioV5yYl5JZnK2XnJ+7iRESbpE7GJ9OND/EyMTBKdXA6J8Y3ZIwQf3h387ZZbtiHy5QyF3w cV6o/OM++ccOPpNFpCZwM12+2jlv+3Qr0/dxBnc/TfooM3fu6611qfMDk3ZkFbgYv9i5TOPb 469ehR9Djk3zSWL5ZnzVZ+NBpkBluXXNYnFeOf9sGdzsSwqLNFes3qiwJVdUW2OZP7f9HJZ9 y7JlT1ZZKLEUZyQaajEXFScCAJFXH4nnAQAA X-IncomingHeaderCount: 19 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(199003)(189002)(65806001)(626004)(189998001)(97736004)(2950100002)(65826007)(5660300001)(77096005)(65956001)(69596002)(6916009)(50986999)(38730400001)(54356999)(87936001)(76176999)(110136003)(2270400002)(230700001)(50466002)(64126003)(4001350100001)(23676002)(36756003)(8936002)(31686004)(305945005)(68736007)(83506001)(4326007)(53416004)(47776003)(81166006)(31696002)(81156014)(92566002)(86362001)(2906002)(8676002)(356003)(33646002)(7846002)(106466001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR02MB1751; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD016; 1:iH+6tn+I6oY9G0tNo7n7loh9BzYFNSq5Jze5oV6wG23QRKFFr3ivNLc+Q7yuKicPbqgaKToY5UuRbj/rlljNxrGEHTbEf52b0GtO/gKwLChuORLwQwkx2fXfDWVQ/+8opd6cnPd2OCUDDhQFz2F8dn5ZjNA2OtgSSsQ/JwF1hAVMLGmMZVDtbdwovIovicBZQR9XwV6QNiAfMV8IFCNmmvkB4JgG3QxepkxW64KEi4kyUK/OYrl9SJo+1nehBWZH6Psm+kl/whrG1mMcT+JD7eJOyigOgD1lW7koUKDs3yAwvAQCZoRZWTVCJEkMYfkJW0DhZSKUoQtmgmW1/9oZSSILL3Kr7t2Z0NDi9JOzKwKU7K6eXyk1dJjGUDs7zLfYyLC5LIjS5iX1PprMBChN5Bp9wh64l/2KlK+ejvV1aWP/u9zgN9HfwAOs1RWblriuigS+gxHpOL2mpQp9gEbUuA2QEYeIIcPN+Wpr0k1RfcyCWGJWJRj6z2JtF6hcwJyZl2UUmj7JrrrFuHiOQzy+OQ== X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB1751; 2:9En44w3QPwE8OeoCBq6r8jWvpVpU5BKuJKsEARgFbW2w8Mfy+3DGkg0wbFlysGU5gz8kwrh4ha1Br5l/jzMntKaNRgzg7O40tsBXvSDIeNcREyCjEAqc3ZkWXrdIQdW7bipVU/IAp8iaEwTLAdR/q/IxaqwYI5R04EBJ1/JazZE=; 3:p79+QS/1v89esI0CW/TYavgaLkbe5bDMlE4Shok2G78WdUFun0Pz47+JuvaN33D5k64Ah6GyLxvTgA5uZK5oqpQ0KkcQDNOQlKCFa3SeS7yl26t9lKIkAdlM/VFBsSqyJQ1W3mMfz9BxrmjnTp1MKaW5pSqvKPQe/qzpd0btQwmHrBJjJMjpTH1qgcpo/gTsRMwRpDCFcL0S0CJw077HvT1ktRvAgTno4GD3Pgt5kQac8a8og36YIUW8is6Nx+KO3AT/kwj5JeoJNMA/VOxGA7LEqOH5dqwuwt8HEH1BBLc= X-MS-Office365-Filtering-Correlation-Id: 01d755e1-083d-4a24-51ce-08d410020c23 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BY2PR02MB1751; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB1751; 25:LI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k+/+uCAXYeQdlmd6BnT2eLxXxzS97i7/3Nf4xjulGWqxJ5/tJ7C1ryVqGEOkje9jOcGY4FOpT5Zt+FMLDveRIpU+SuHuDqZkZw4cUJmyzdz0GlSmz+nH66dI7sgsWZjTYN/pM0DGHXcHJSpWpQyFHYVFfpajexUycF9rh+DavhCXai4cKXUocs6yM81rwAk0ABSudwSz X-Microsoft-Antispam-PRVS: <BY2PR02MB175166DB0CDDA22BB6BBEB5881B00@BY2PR02MB1751.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040281)(6060326)(601004)(2401047)(13018025)(13016025)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6041223)(6061324); SRVR:BY2PR02MB1751; BCL:0; PCL:0; RULEID:; SRVR:BY2PR02MB1751; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB1751; 4:MUaOeiATkBdPZxucjK8mKwUQr5WTN7KKnxw5c9FqPvqrF9a3I5+T6TutI6jhxD12W9MY2xgEMnnod7L19/8xeXgYnPDHPHYL+eMFUmysAucP33vamXhbGLcOoG2StmxuBPOa0rQga06syk14wz8sLH2vBvzYGqdXMHZ+exPI1zyBSg9w3K52y+ydCRIGHv1ixXZvwAXk4Nvj4ytpgAFyGmi6tvjv1/hJE117yAeX4nZig+8iTcbBAEYETGfGvs7N2KygqbESMeYfsourVKluFIKDDIWtsWpbsgJ3ZMjuyipkEfL2ZvS3KBAjkyOmcXeJTCMBEalG8zTRcUc3mU9Tm/ovmRmC8aGKLnYUT+VsNvdnrNHemQxqqolUq6NYgsLxhZDpaTyySgiRWu/SwNrVP+mCWdIftIgWbhr0rEu096uQcS80dnSxkam8sqJzBYyR+KR6bT7GJUEyto/4xe3n1Ht6Gr7AUAZq5tb+RNAdkK5vTzPrxdvJzMQj3QzUwugrRkUAFeBCR++8nyABgZVN64+LJ94N61HAaAV6hIMgKgGMU7G2uxu4KRr7me4R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nwOfrZaI0pU0wxLl0ZhScaQ/HIcU8PXn1Yz6UwkZL66fab3Qi4Wwl4Bk268Z61plQWQfl43ZwxrqXsthCMYEWmSb1PZpV7YFtozR1cB3lhCVKaJbO9C8CSZxfRUGtC1E1LXMUYNZwO2bTZ7He+oeEWRoMKlpZJjAy9+an+9uTB/eumpfU02+9rC X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2016 22:27:13.9930 (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.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR02MB1751 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]); Fri, 18 Nov 2016 22:27:18 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Fri, 18 Nov 2016 22:27:18 +0000 (UTC) for IP:'104.47.38.42' DOMAIN:'mail-bl2nam02on0042.outbound.protection.outlook.com' HELO:'NAM02-BL2-obe.outbound.protection.outlook.com' FROM:'Bart.VanAssche@sandisk.com' RCPT:'' X-RedHat-Spam-Score: 0.668 (BAYES_50, DCC_REPUT_13_19, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS) 104.47.38.42 mail-bl2nam02on0042.outbound.protection.outlook.com 104.47.38.42 mail-bl2nam02on0042.outbound.protection.outlook.com <Bart.VanAssche@sandisk.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 <dm-devel@redhat.com> Subject: [dm-devel] [PATCH 03/14] dm: Fix a race condition in rq_completed() X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development <dm-devel.redhat.com> List-Unsubscribe: <https://www.redhat.com/mailman/options/dm-devel>, <mailto:dm-devel-request@redhat.com?subject=unsubscribe> List-Archive: <https://www.redhat.com/archives/dm-devel> List-Post: <mailto:dm-devel@redhat.com> List-Help: <mailto:dm-devel-request@redhat.com?subject=help> List-Subscribe: <https://www.redhat.com/mailman/listinfo/dm-devel>, <mailto:dm-devel-request@redhat.com?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Virus-Scanned: ClamAV using ClamSMTP |
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
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 <bart.vanassche@sandisk.com> --- drivers/md/dm-rq.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)