From patchwork Fri Oct 14 15:35:47 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: 9376979 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 E8BEE6022E for ; Fri, 14 Oct 2016 15:38:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DAABF2A6EE for ; Fri, 14 Oct 2016 15:38:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CF5902A774; Fri, 14 Oct 2016 15:38:29 +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 9A2BE2A778 for ; Fri, 14 Oct 2016 15:38:25 +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 u9EFZxGk003890; Fri, 14 Oct 2016 11:35:59 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u9EFZv8i024039 for ; Fri, 14 Oct 2016 11:35:57 -0400 Received: from mx1.redhat.com (ext-mx01.extmail.prod.ext.phx2.redhat.com [10.5.110.25]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9EFZvLS032013 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 14 Oct 2016 11:35:57 -0400 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0047.outbound.protection.outlook.com [104.47.38.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 71781148DB for ; Fri, 14 Oct 2016 15:35:50 +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=UTGAh1R4N1jjgkc6iPcbUDXDCv0/hiH8/T6C0eFwH08=; b=A3Fkt7kKBm/2PE5rwfind/2gWueQ2YnI+2fayjniZkJ1wQ5oBj1cfCjJg9/mWUgxnJuqtqEEpIZe1nZLDeEvoNuWLWF1M0wszNach5BQnD53JScpMA++kqG2TDHfOrzeg2LZ0Q93bJ0Ye+X3RAVqyv3gyV7Rh9/4uIV47dSCq6o= Received: from DM5PR02CA0057.namprd02.prod.outlook.com (10.168.192.19) by SN1PR02MB1629.namprd02.prod.outlook.com (10.162.128.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.659.11; Fri, 14 Oct 2016 15:35:48 +0000 Received: from BY2FFO11FD036.protection.gbl (2a01:111:f400:7c0c::154) by DM5PR02CA0057.outlook.office365.com (2603:10b6:3:39::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.659.11 via Frontend Transport; Fri, 14 Oct 2016 15:35:48 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) 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.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 BY2FFO11FD036.mail.protection.outlook.com (10.1.14.221) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.629.5 via Frontend Transport; Fri, 14 Oct 2016 15:35:48 +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 6B.FB.26959.CD8F0085; Fri, 14 Oct 2016 08:25:16 -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, 14 Oct 2016 08:35:47 -0700 X-AuditID: 0ac94369-babff7000001694f-ac-5800f8dca1a6 Received: from exp-402881.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id 05.83.19236.35BF0085; Fri, 14 Oct 2016 08:35:47 -0700 (PDT) To: Christophe Varoqui References: From: Bart Van Assche Message-ID: <5832949e-aa89-ebf2-11e1-67bbb4d050bf@sandisk.com> Date: Fri, 14 Oct 2016 08:35:47 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrBLMWRmVeSWpSXmKPExsXCddJ5ke6dHwwRBstaTS3WfZzLZrH33WxW ByaPNbdPs3q833eVLYApissmJTUnsyy1SN8ugStjxuF9bA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tg2td5131/ftLn4 z86tuRFnjSP84lgCY5t4dR8EvbpZeLs7tuHu/YSc3UnzVgneXG647v9snX4njqatzrXb+Wx4 8+/4Rub3zrld+1uZd/ey9XeEy2zDrq6PrQiZkDjVapphEcNsA3FO+ZgLwikrbfflzAtXYinO SDTUYi4qTgQALG6vQ+EBAAA= 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)(230700001)(586003)(36756003)(19580405001)(87936001)(2270400002)(11100500001)(33646002)(4326007)(77096005)(69596002)(53416004)(86362001)(5660300001)(31696002)(8936002)(2906002)(65826007)(65956001)(31686004)(19580395003)(626004)(83506001)(65806001)(81156014)(23676002)(47776003)(189998001)(305945005)(50466002)(6916009)(4001350100001)(81166006)(2950100002)(68736007)(356003)(50986999)(229853001)(92566002)(54356999)(76176999)(64126003)(110136003)(97736004)(7846002)(8676002)(106466001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR02MB1629; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD036; 1:/v9bGTDo+RhSUXEX7Xg/VgV7b87wbVOvcBwNGLk6UY1h1DRs7hX7MDI+yj56aA00Tz+3MweNK0pTmOFYDQPdxBJQ1qx5YlUGcmVkXgpz+Yf6LoL985YTW8j9oU5Kt8MII4fxnZtrWkXpOpf1ekQPuVOIchju1vL3BPetqU6wGSFib4HeaYJ798cT2I/2mob3cCMoY3rmWGip7kk6LDDHCJNP1K7DUTQNZlg6BB70Sa4dDOMN8OdBMRNvuZeqQ/mtbqoHYWyqU5t0/TB3ht9RRHwZbco5fEnB8CV1H8PLNg5m4TAWaJ/JG0tFajp9DiBZFafzsIBkwsBCNLTmfUBOdUasZ2jvJnwrpHYSiiC6v12k/Ih+HYATTUZVlNX4inAilWFbtW8QpZg9QQVLEgEyW0/vylL8X2Xz5/53lmipkbMNX1a3PtQLeeXcg4thwH6VyttjnjL446v6ElXwlZ4jtciUyyq1dhM0/UwA4LJNdab/X2mMu+MZ12/Ei3ViQ4TSZ2tmdve/MhKprdUQK7S1+w== X-MS-Office365-Filtering-Correlation-Id: 7362a307-bdbe-42e4-b41b-08d3f447c573 X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1629; 2:yhjWJcQeTio6XflAtKM37DlUVD8XHnvSjxlqtUZN0MCh/xxl+dW83DXzHuPOSggstAitfjfo+GkOfTffK1h12QLzXak8qeE1xF2VC2xFpUscGCzg4W7yhGhVSjkL9kyn2nvQdMIs97T4FUefnP6POIv25QblQtactNrq/VRT93CXWNFuw6Vz2YCDl9Q8y67e8q+r3Bww7Ns+5v97ltiaoQ==; 3:RVhvX8fphCJ5T8ESPf2Q/dzgQjBzm7y0vgfiah2egQRkYQmNrGSdcomF6qIDjOuknwzc1L2sKaG8rKsmbu+eM12zmlOgdH2y5rXtixOeMmbcPAudF7ZFAHa5VT5q3mIzN9rTul14EYsJoY3vvq7naXjGDgdthibTqcPBLBAPPO+UdaGD3ifwv0fsePa21d7PTg6oqkH+uPLhG8LpfT/H4qJd7+HuQUgBD5BUO1rVaCzenQZ4w0JUFzKPHXjpNuLyAoLGmfuDYkTbDJNENEcBOCwEr0g9exdB6iIWnIzP47g= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:SN1PR02MB1629; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1629; 25:LWMI8hp2jyysMbtm8vwFH0aiQdjTJmHjAwZzUoq2zAfcjIwLPypWToaWF3VilF2p6L/mI4WshwZDPcJ92egphcxK8yjbKQsafUfji9p1mrdxhdFRI1kHqDwd2VKhauDPhUj+juWzp517PftyP8TMFNfk5XzYBun5rBqui6LKFlrJSeUF2vQdpbROBAz5ycv1gPbnaNf98yugLq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owGBJ/b300PgyyHkmr6iBbJqiMKO0Pa6/rcS8dh7EBzFH5xuyq1jKAmcox+a/urLQZmIUhton3EYKEltQVR/NstARKRUl4rZhrJODgrbwV+Az4ZZGsU0wahNCGfi4lJ8mWYOhI1+zb1lyodJJaxkomEk4gEIzJRXri6D344I24tb1DoC5hLSA8jWeTpA1vkFwysZ/grfUvwxYZ+d01SLkZMTVVoe8LYXGEsNLhfxDDi36RppkqqcglYVnZ30WSzHFQ6la88AZsAk+CSxs+gk25QNuLUxMc5UnDq7y86rRnoNgBGG40ujDZCv6Cn6o/SfNdxWfer5k7jsd6be6Bj0OEfmfj5IhTGkT2d X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13016025)(8121501046)(13018025)(5005006)(10201501046)(3002001)(6055026); SRVR:SN1PR02MB1629; BCL:0; PCL:0; RULEID:; SRVR:SN1PR02MB1629; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1629; 4:TRg7qk8M633f+/kt9bCfP6DtR/YLLxV6KjfCthWKu3lh0IYto1rL7GTU/q0JXoYHHs0/YGEQQ88XQyIdYwHDuTuH9hmnqpdvskVjeFD5SlIsWj7fuUIG8SfLL/Y+DsrP8iObeN8d0QDcBkTG4kUGADknShwYUmEPnzZ0Fssc4COH8XhBoBaPVU2nc7/bPVEDCN2J30ZRZeBAa6X6U558s3rFiKaJGH2P3mXiHNUlIO5K46VtFxn2hALBCSdGb4djnUj9LW3QadEOFLtPVE+P47xqDKUVqDR9ZWtkR8QIYFQOPubGXigBxGJVA24Bc5GxTUpYln+ZdXFvts/darMZJStUbvCQdKhhAnPhOJ/C4noLU+Mrbo4c+9+ov/3cSZGngin4HiaKET7dn6uPw3McUye9XXORQBOa7XfLGG0RooM9sxXWnGnw6hw1MF6PI8qrnoUG0lvyyP4A/EHqgpFPr67D+roYPxKTXdn0n4nUHQOuGap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F59aDKxOR2?= X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1629; 6:hGGFEZTS7YWPhWcnRH0tiigx0nhENXtjlar4rcEoVg3Iak7ygyHCAufrOx81gjd4/arafaMwqX5q8QnN1413eHzk0B5FPYJ4GflcRpiJ/4a3YVh+gFTLmY9gaWoDaqswq8LIXRdkGPPi/U0DneM7K8xkriqc2wYjhuFksez9Jl8sJSqNzHNa+IijAHjvEB2XSHkwvt5GSQh/8+izhd3/KtSDMpT1nUG0UFbqfHaeP1+Od26c4Gj2PEQBp8lGWF3Aq48bS65LORrsFoalfv4rLAmBuCeFNRVGJyYaDxKrIy03DSKIY2rTopiOdnvQCyytLiGnyP/45GHC5lOvHx/7gg==; 5:UgJpYE+Vx64gZWeow1h9/rjN9733m6LHoog30vpcdYaN552p4Of167dm1O2iD4RcX2KWNtAC1O92lgNNWgXcLUoPs9ld0MI6Dj95OV2XllVmZOT4RxerUe0kETKlje2au8MPvKpJQCbP+oUbNBCVTOm8LINgQCWELKWvk8GVQLs=; 24:K6JX7nzqbMb8JkAVeEUctoRcMRi4OnqFnVopGOSX1SakjbCza/aPWNGwXt/E1a2I/Zm0GzQUGLpEFEOdN+n2wLuMyQc2tr6ptGzFOjqVGcA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1629; 7:kiCXlXv4r8Is3U87XKNvj9quIeAsoaH2gHGkqH4w5GvAocT4Hq81XW1auZKRBksVUmvPaCz2TAHyS8gUEXaU/q0IVceELmpNNOgEqtCJJfCguoqSxOdFpG2noXLzYh9f4nm7E1r6JW2YfTDAkH3x9/IHP07MHxfoBZ8PtLQB4z9iCz7TEvJCDft5attrfZCaQRxnaMHMTti6fL0nDG4XwqQHKOPn98VdKUGaQ+9J+AlWKX2fsjKpZObnD0iWobUE9BBr34KMswSLdG9mS+qLd/TMUiAzfyZWf8mGRq+lRZZc0i1SazzEHzpasioo4XyDcG8qbMF1sb7rJvZnYo4+DxwAtp9p6q9wuUX8ew3KQkQ=; 20:Hge1KJzzvyq26s0bPkvuQRgV11ygwi2hqgg0noCIe3LBF393djms3oCUnVIu6dp1A18hI4Z+Y/CNNPx+oigUbGipGvJPLk3mN0ki9PBDxfuW7YgedZD0YY7l+TaFCnCyOcfmFxgIMoHI8Qk5Ex0UvZ9Xvqrd1gFYd6YJn4zje6DCP+F2lyVfjlZZ67AA0YiFsS/T0qKaZdRyI8NAcqUf2xduJnrqLchVhHn5vtnU+TtOr+6N7CNozjXHOrdtl3TG X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2016 15:35:48.1609 (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: SN1PR02MB1629 X-Greylist: Sender IP whitelisted by DNSRBL, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Fri, 14 Oct 2016 15:35:50 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Fri, 14 Oct 2016 15:35:50 +0000 (UTC) for IP:'104.47.38.47' DOMAIN:'mail-bl2nam02on0047.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.47 mail-bl2nam02on0047.outbound.protection.outlook.com 104.47.38.47 mail-bl2nam02on0047.outbound.protection.outlook.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.25 X-loop: dm-devel@redhat.com Cc: device-mapper development Subject: [dm-devel] [PATCH 2/2] multipathd: Avoid that a deadlock is triggered sporadically during shutdown 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 pthread_cond_wait() is a thread cancellation point. If a thread that is waiting in pthread_cond_wait() is canceled it is possible that the mutex is re-acquired before the first cancellation cleanup handler is called. In this case the cleanup handler is uevq_stop() and that function locks uevq_lock. Avoid that calling uevq_stop() results in a deadlock due to an attempt to lock a non-recursive mutex recursively. Signed-off-by: Bart Van Assche --- libmultipath/uevent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmultipath/uevent.c b/libmultipath/uevent.c index 6247898..85fd2fb 100644 --- a/libmultipath/uevent.c +++ b/libmultipath/uevent.c @@ -52,7 +52,7 @@ typedef int (uev_trigger)(struct uevent *, void * trigger_data); pthread_t uevq_thr; LIST_HEAD(uevq); -pthread_mutex_t uevq_lock = PTHREAD_MUTEX_INITIALIZER; +pthread_mutex_t uevq_lock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; pthread_mutex_t *uevq_lockp = &uevq_lock; pthread_cond_t uev_cond = PTHREAD_COND_INITIALIZER; pthread_cond_t *uev_condp = &uev_cond;