From patchwork Fri Oct 21 18:41:56 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: 9389883 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 259F060780 for ; Fri, 21 Oct 2016 18:45:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1B0392A1F0 for ; Fri, 21 Oct 2016 18:45:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0F4522A278; Fri, 21 Oct 2016 18:45:27 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx6-phx2.redhat.com (mx6-phx2.redhat.com [209.132.183.39]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8EC0F2A1F0 for ; Fri, 21 Oct 2016 18:45:26 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx6-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9LIgC1Z055121; Fri, 21 Oct 2016 14:42:13 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u9LIgB8F025199 for ; Fri, 21 Oct 2016 14:42:11 -0400 Received: from mx1.redhat.com (ext-mx04.extmail.prod.ext.phx2.redhat.com [10.5.110.28]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9LIgBZi012592 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 21 Oct 2016 14:42:11 -0400 Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0063.outbound.protection.outlook.com [104.47.42.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3878B800B0 for ; Fri, 21 Oct 2016 18:42:10 +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=zCH/ne5GONnIIdHGGDgsIduujbiHtElsBxPGo3k247U=; b=uOVmB/tm2rOwZorf+9qfX/l3FSGebbsaSxcgtj42n2sp4LgzNlg7XcdsnnhVV4fZ7960PcMMgVC1AsL4dC8R9GiceSg7hJ+qeIQCiys7r77tSJvModdialpiayjZwoqfyIXOqIDDFW7WzRU8YIsDzl3dVpF+R8hLoUPFWzjlMOU= Received: from BN6PR02CA0048.namprd02.prod.outlook.com (10.173.146.162) by BL2PR02MB2148.namprd02.prod.outlook.com (10.167.97.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.659.11; Fri, 21 Oct 2016 18:42:08 +0000 Received: from BL2FFO11FD012.protection.gbl (2a01:111:f400:7c09::174) by BN6PR02CA0048.outlook.office365.com (2603:10b6:404:5f::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.639.5 via Frontend Transport; Fri, 21 Oct 2016 18:42:02 +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 BL2FFO11FD012.mail.protection.outlook.com (10.173.161.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.7 via Frontend Transport; Fri, 21 Oct 2016 18:42:01 +0000 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 BC.F2.61581.43F5A085; Fri, 21 Oct 2016 11:32:21 -0700 (PDT) Received: from milsmgip12.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, 21 Oct 2016 11:41:56 -0700 X-AuditID: 0ac94371-952c29800000f08d-d0-580a5f3416a5 Received: from exp-402881.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id A0.79.03615.4716A085; Fri, 21 Oct 2016 11:41:56 -0700 (PDT) To: Christophe Varoqui References: <72bd7a6a-7fb9-5a2c-b22d-031d8feb01b0@sandisk.com> From: Bart Van Assche Message-ID: Date: Fri, 21 Oct 2016 11:41:56 -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: <72bd7a6a-7fb9-5a2c-b22d-031d8feb01b0@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrBLMWRmVeSWpSXmKPExsXCddJ5ka5pPFeEQcteZot1H+eyWex9N5vV gc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GcJhxRu1gvD7R/BAjEwenVAMj35lHKz9999WuSVNUV5UvW/XOwvnZsvYX z6q8dtz9yv77s7JRk9zTabJXzR/Ufr+/2/vQxofy6k4Ja/ilw0oOrw6PX1Xq1Mpacu9ruPVp i0PVR+eIJZ5hOvVvTWRso3+/Yvmm62zeWYzvA0rVOW7e+7U7o0DxwzPJvHkv5rEfPjk/0Ctz Z4+BEktxRqKhFnNRcSIAKZsBHuMBAAA= 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)(199003)(189002)(31686004)(8936002)(50466002)(23676002)(53416004)(64126003)(50986999)(68736007)(11100500001)(110136003)(76176999)(2906002)(77096005)(106466001)(54356999)(5660300001)(4326007)(33646002)(626004)(230700001)(2270400002)(229853001)(65956001)(65806001)(586003)(87936001)(65826007)(47776003)(36756003)(4001350100001)(19580395003)(305945005)(86362001)(7846002)(19580405001)(2950100002)(92566002)(356003)(8676002)(6916009)(81156014)(81166006)(97736004)(83506001)(69596002)(189998001)(31696002); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR02MB2148; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD012; 1:Cq7dUR2JUKVSh+IB0kobX/jKnX1KLb6xPDg+UGYsKIg9Wk13a/8UoiknJPTM8pATfAraagA+Y1vs09cj6gaAZkGmeXVcxlG8VfMMIzpZE9Y7AnVwP4WtmeQNydPQlCtOSx81WYiJwbw8c4ccctfWvbwvF4qH4WKaR+TkkHBKrbiTGq1b7nQ/NlinquRck0pwogtDXoI0v7kKoONsHKUXHyK/K87J+f8Pic5mNYK7NxvKhXBnsUBqp6Cz1oshlDhL9Pd1g9XWWmX4LFThXDKpvJm3FStuUM4Ipav99cpq/kRoOZw4yYd8AieO3iab1CN/SKUbhq8CM5iDUr4k07CDb6d8RDrO2Z9boX/zBghOLIFzg/4aOKStwlvuqfgNUIBtx7x3dA+kbkicER+Tvb10czwF8Ayja2w74Z/MJx4d8lRzhcq4mTW+QK5Z/nA+gA0T/1v6LZ4bBE4jG1A5tp+sZhBxCQ5/whZNMYUJy6WmXQfW3vv/2W1+CTd736h9t62JWg9Kz4Tbas+jML6SiDhRBg== X-MS-Office365-Filtering-Correlation-Id: a9569ca3-0549-426b-64ed-08d3f9e1f294 X-Microsoft-Exchange-Diagnostics: 1; BL2PR02MB2148; 2:79IwE4njTlmJ9W7VmeCxGt05VFLP7WVax9lXDfcxnO6JUi9jRgxcojijLboUrLSHfSBChb0IBB/Z9c2BxOv1umO0aMlJFhkAtDMN92cPBMBmev7uKr1OM9BjA13Wfe5TQFwooTUXIg2Qn29K8ZDq0LIOfDqf+moZrvMpdzzrto+8zQ6lHyY3Qyak4/Tur9lj7Tv3W3vS/RDOmj1LaOJjXw==; 3:edD+978WasoctmNeKsBSKQJ0EXKXfER54VCSRP6vA0HB2HcwZnilNare4qzSQocR/A/CPRH/HVIDxQOltLmmCf1nMjRH4LICLq171MkTIb6qORENAzEGtjaMPE7TZjy8P1a82rU2rSbGRQ08nC054ZL2iPGJ16stwUh2GTr8kmX6l+xgw70DN/lYyj/+QR/OpczcUIzp9i0LluWjLdWxe3I7UcpCEKNJex6d3kbesN6hM5uktRuvMJ357cDa7mKaVE9i9u+48+M7DrsLrg3oiW+EFjLo62Aca2StPvYQMDg=; 25:AWznjbmj0sQY4pIxa40EzikjW86JZPwHVugXGSxllREo02ykblBdA89lvqfxRWPLy+BDFiu0A4Qmxx78RULEPONbRG81XVVKQWRNfFXtFa6DPQuhGfI/DMuR1Xd4rjdoeFBQGHZb0QehaE+HEL+/DMPCr2N9+BFYOh6CDT6ZtrtaVeFU1nxWGkOZLcV+yxRgkOTh42dj65ZzLTxsbWk0zej0rdpUsg7sgWmrrfj2yZfXk3LhG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Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(5005006)(8121501046)(13016025)(13018025)(10201501046)(3002001)(6055026); SRVR:BL2PR02MB2148; BCL:0; PCL:0; RULEID:; SRVR:BL2PR02MB2148; X-Microsoft-Exchange-Diagnostics: 1; BL2PR02MB2148; 4:hWiINA7UhAUpRy2Dh6jtAm3sWsrclu8JhHJTcn3cJzKt9OydLXPMRz5hysCLMCiE3AsG1MPwT+6C6u9yeJwg9oFdGlLOZAyeE308+z0BbDcSfQHWecqpAAcbuzth5m9JjGFGFcQyJ23dqLUmfipZxiCumwpkCDOff0hnbbuk3LBjjWEo8Vkz8N4PMXImHLCePBYE0r/dWhVgp/HCseNZSpLRxlHZ17cqn8x6oWK6WsNHBSLl3i75pXAsQG4b/x7wiVJubgsrrL+yq0HGH57/OX+V4ODW60r9wG0QG4YHNUDxXNqjgRE65RQQNuC4wgTrOjxidDxqzWOJS2juzYV05JtW03uCPqP/Hgtj+yHp+IsGF4+CmfT1aD9NoS74+2CFcONfTIJVS27uKEVsKuS0IodfrxUql4l5HWJqlUs6Un2sLldPGrTKo21K7gDYx2ScH9VrlzyyQ9mHeGsFS7oPW/BuDjMeD6Itqb+lAHwGhROHt94bKVglWOdTrTeNfxTV X-Forefront-PRVS: 01026E1310 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTDJQUjAyTUIyMTQ4OzIzOmZRS3FEaE5pSVRodGRVNWdDR3p2WGV3SFJQ?= =?utf-8?B?b2VmbjIyRmZyOEZkY0ptRGFUcEI4Y0NEK2ZhcENxUDRNdW9zZ0R4Ui81dkdW?= =?utf-8?B?SGdDMzdDNVJjU1B6VDkyWEJKTCs5TysyR1Q4SEU1ZGR3emU5WDV5cERmTnBQ?= =?utf-8?B?T1Zqam1qYXhkcGE3NWM2cUlwQ3RMTGpHT2dJeExRTXdjb04veUhZMTEz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3+GDPQgEJby8+kxJL4Kt1FZP0msbwf1c4zqym/9czA==; 5:ygo5la56ETEVdP8JfDnV0rjH7jAwvqBxhgPK0+X38RYUX2oRFhWaJ1xGdIXMxxl0bRCPlNkr8N/pFDYveSQ1DbpzvO/Ok2mhl+m6kEYSkBEM3WUMLCMaqbHQGmPpxMLrrTuPqGInlOdkQsSInCvUUQ==; 24:KCFnkf3Uf1WgNqPUiKUX9M8SxGjEJJgU789IOJ54zt/kjJgvi7TwI35ly93E5wpKjsVakmXygU75/eWpzvsM3HVjQkpQVUTbQBrePVrNSHM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BL2PR02MB2148; 7:rigsAPDN09Pgz0i5c7JlMCiWI+R3moYH/w0x/y/SV0iBR80AwHrAiyDf+z2KYzoGlINQyDHYTR07u73adPA24mJnHp/+QbCHx155OJbIlSmyjHkUaAm5VplmmQ+AEOd9xzF15ZOFU2pfED4p6GHm7XkYl8Dxx0J9kvc0Su7Z07xkdJVxhaRuhAv/j61chlohkZjWcN3Cmf6PBLovnBZ4BiWpFM0vxWjf8Us0GgDXUfFcOlNhojcEnrGqPPR3BuF5JUWn/6zZUaChc97ZMHqJyPWYKU5FUtnGLC53xTWV2YP5QQYPFnGw90HjQd1YJX2clB6AZ0MNaVtYYSM57My5RpsBXlZx7hY0Tb2vBnFvXmM=; 20:79t0PZfPEmwnO/2HZPZ4v303wJ0dSpvxSTnt9YPhIINHKYFAlXGIVRkxTk8GznPHgkUywXvvkf1deZuy8WjH5vI/61VI78QIlfiBZHtyBUZeEsRh+wkvSLXFxtMxHoLSPVCSB4FGQ/j6iTwNaUmOsLhWQspgc6Ov+qlIKXbJmzhfJq3/o7I3t2J2WbUy10+5pXqG5XRKGRWj+UZ35fvG8F+Ep0N3c03qPr7qJTQQWDy0TH6H7z7m1ufHoIHxMiMl X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2016 18:42:01.9021 (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: BL2PR02MB2148 X-Greylist: Sender IP whitelisted by DNSRBL, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Fri, 21 Oct 2016 18:42:10 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Fri, 21 Oct 2016 18:42:10 +0000 (UTC) for IP:'104.47.42.63' DOMAIN:'mail-by2nam03on0063.outbound.protection.outlook.com' HELO:'NAM03-BY2-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.42.63 mail-by2nam03on0063.outbound.protection.outlook.com 104.47.42.63 mail-by2nam03on0063.outbound.protection.outlook.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.28 X-loop: dm-devel@redhat.com Cc: device-mapper development Subject: [dm-devel] [PATCH 02/15] libmultipath: Avoid that thread cancellation causes a hang 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 Apparently uevq_stop() hangs every now and then in pthread_mutex_lock() if the udev listener thread is canceled. Avoid this hang by removing code from uevq_stop(). This is safe because uevq_stop() is only called just before uevent_listen() returns and in that case neither clearing my_uev_trigger nor signaling uev_condp is needed. Additionally, rename uevq_stop() into uevent_cleanup() to make clear that its purpose is to clean up resources and not to stop the uevent listener. Signed-off-by: Bart Van Assche --- libmultipath/uevent.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/libmultipath/uevent.c b/libmultipath/uevent.c index 6247898..0f32dbc 100644 --- a/libmultipath/uevent.c +++ b/libmultipath/uevent.c @@ -124,15 +124,11 @@ service_uevq(struct list_head *tmpq) } } -static void uevq_stop(void *arg) +static void uevent_cleanup(void *arg) { struct udev *udev = arg; - condlog(3, "Stopping uev queue"); - pthread_mutex_lock(uevq_lockp); - my_uev_trigger = NULL; - pthread_cond_signal(uev_condp); - pthread_mutex_unlock(uevq_lockp); + condlog(3, "Releasing uevent_listen() resources"); udev_unref(udev); } @@ -495,7 +491,7 @@ int uevent_listen(struct udev *udev) return 1; } udev_ref(udev); - pthread_cleanup_push(uevq_stop, udev); + pthread_cleanup_push(uevent_cleanup, udev); monitor = udev_monitor_new_from_netlink(udev, "udev"); if (!monitor) {