Message ID | 20170427171126.26814-13-bart.vanassche@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 01394602CC for <patchwork-dm-devel@patchwork.kernel.org>; Thu, 27 Apr 2017 17:12:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EACBF26E16 for <patchwork-dm-devel@patchwork.kernel.org>; Thu, 27 Apr 2017 17:12:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DE01428635; Thu, 27 Apr 2017 17:12:43 +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=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (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 6904F28632 for <patchwork-dm-devel@patchwork.kernel.org>; Thu, 27 Apr 2017 17:12:41 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3860223E6D1; Thu, 27 Apr 2017 17:12:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 3860223E6D1 Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=sandisk.com Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=dm-devel-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 3860223E6D1 Authentication-Results: mx1.redhat.com; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sharedspace.onmicrosoft.com header.i=@sharedspace.onmicrosoft.com header.b="ZV8mGBRz" Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 087C482928; Thu, 27 Apr 2017 17:12:40 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id B2F5118523D3; Thu, 27 Apr 2017 17:12:39 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v3RHCcEP029874 for <dm-devel@listman.util.phx.redhat.com>; Thu, 27 Apr 2017 13:12:38 -0400 Received: by smtp.corp.redhat.com (Postfix) id 3B28499447; Thu, 27 Apr 2017 17:12:38 +0000 (UTC) Delivered-To: dm-devel@redhat.com Received: from mx1.redhat.com (ext-mx09.extmail.prod.ext.phx2.redhat.com [10.5.110.38]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 69A3177EFC; Thu, 27 Apr 2017 17:12:34 +0000 (UTC) Received: from esa6.hgst.iphmx.com (unknown [216.71.154.45]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 02ED461980; Thu, 27 Apr 2017 17:12:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 02ED461980 Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=sandisk.com Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=Bart.VanAssche@sandisk.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 02ED461980 X-IronPort-AV: E=Sophos;i="5.37,384,1488816000"; d="scan'208";a="14364389" Received: from mail-by2nam03lp0048.outbound.protection.outlook.com (HELO NAM03-BY2-obe.outbound.protection.outlook.com) ([216.32.180.48]) by ob1.hgst.iphmx.com with ESMTP; 28 Apr 2017 01:11:39 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=rscVZTlKJLM+ZX3FTtzH+cajSZkUFGpwFYOM+XKrsFA=; b=ZV8mGBRzd/yTYzabDw/N1+fCVQXl9QI1oOI42fuXq70MN1tzRM6W3BPi9eEmOSePsgRh494ODP8FU/APITxfQxLUIcP25dMsGEeJ11mxBzbsitjGybpFR/jlR3J+jZoaROuG+Cfx79+1UMlcaut4m4C0VDVzMGSfalUvZ5EXsQc= Received: from DM5PR04CA0039.namprd04.prod.outlook.com (10.171.152.153) by BY2PR0401MB1768.namprd04.prod.outlook.com (10.163.29.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.13; Thu, 27 Apr 2017 17:11:36 +0000 Received: from CO1NAM04FT052.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4d::200) by DM5PR04CA0039.outlook.office365.com (2603:10b6:3:12b::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.12 via Frontend Transport; Thu, 27 Apr 2017 17:11:35 +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 CO1NAM04FT052.mail.protection.outlook.com (10.152.91.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1047.9 via Frontend Transport; Thu, 27 Apr 2017 17:11:35 +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 3C.F2.19026.54622095; Thu, 27 Apr 2017 10:11:33 -0700 (PDT) Received: from milsmgip11.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; Thu, 27 Apr 2017 10:11:28 -0700 X-AuditID: 0ac94371-41ba798000004a52-2c-5902264562eb Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 01.F6.11415.04622095; Thu, 27 Apr 2017 10:11:28 -0700 (PDT) From: Bart Van Assche <bart.vanassche@sandisk.com> To: Mike Snitzer <snitzer@redhat.com> Date: Thu, 27 Apr 2017 10:11:25 -0700 Message-ID: <20170427171126.26814-13-bart.vanassche@sandisk.com> In-Reply-To: <20170427171126.26814-1-bart.vanassche@sandisk.com> References: <20170427171126.26814-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrDLMWRmVeSWpSXmKPExsXCddJ5ka6rGlOkwa0H+hZ7381mtWjb+JXR gcnj/b6rbAGMUVw2Kak5mWWpRfp2CVwZmw6fZS84LFQxc+8clgbG0/xdjBwcEgImEs9POXUx cnEICSxlkrjZ8ZQNwtnBKH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6fxs4/gDllzxY1BExba3bRaOlMm Tsj3/ne+zS1fjvy5qqQ61/btRfMv3H2FZycrsRRnJBpqMRcVJwIAWq9dRKABAAA= MIME-Version: 1.0 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:(10019020)(6009001)(39410400002)(39860400002)(39400400002)(39450400003)(39840400002)(39850400002)(2980300002)(438002)(199003)(189002)(9170700003)(5003940100001)(356003)(450100002)(53936002)(2950100002)(6916009)(4326008)(6666003)(110136004)(8676002)(189998001)(81166006)(47776003)(77096006)(38730400002)(107886003)(305945005)(36756003)(5660300001)(2906002)(8936002)(50986999)(76176999)(1076002)(50466002)(50226002)(106466001)(575784001)(54906002)(86362001)(33646002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR0401MB1768; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM04FT052; 1:ywKmwYC3NERKKV3CXLwowuYAKDN4NZT4fUurYIm9T6of4dLktMgTAJGNOB65My0/p1fB5XBT4IzA5NMjF4/W1v1pb+UCDzD7ARrQOM3d1xHq3rmliyjGaX5qw7898LCRvv/7SJKwg+R7o698VG0wHZDVW4QxACH3VHKkPhCqZzTrrn8wUC3i/3w+9kW2uIKlSkixqLPcv5MD9ot17+nIk/SV9dtZU2VfBOE4Mo/Bo++VmxB+IUJRedvQvl8CBoLzoXck8bfcJ8UenjsYgdXXvPUBV2OsgioVb1chIa4a8+RUpqPw5WUKprQ5wuntm/ozDrOjP7oSQe2b4JrzAM+nzLscWDj603zF5DgYk/zfkcWZKzBIEb2pD9+hyO5N0gVbalEIwZYttUnwW5cCDjovaB2kKxysJ3g1OX02YB02Pjrr3k5TKdlvbo31CZx18tlQbWxc85M2CmaVxL4GTUsRPiNO/Xvi4P+T2N7NXBjvgsRsbOwhhtIMwT5q2e5xrRKF X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 09f1ff3a-3d9d-41bc-2edc-08d48d907602 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:BY2PR0401MB1768; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0401MB1768; 3:xx1AXx+XDg0otMQyxmm1gG70PMvW8mHeeOhRCNu13fEm/iY+lSyqxGLxI0untba/ZfIIGruiIYBJwz356jVhc/bcin2+rc+GKHbbeG2Iuz0jHw35ssILst/nDJPzvppzkv64AbsCZmCkA/WDW0y1MU7NicbdJ06aeU6lH/93+iTTxZZyemq29ewQ6+w1SgtFEABE23ny8kPwBwtvVs1lt5p5qbwdjGapkaXwx46QtxsqGMgF7+1jjksdBhn/V0XBKl1/CWiu0xJopSAKsHBjB+95SRkse8/dZua0aMvCN9LEbg2FUPRKDV9tWlaKOD1an5zxgxSkSl0b9izl8Aa70k5EkbKNFiGCh8HNjGBcjl5iNWiYFD7vI/F+jOhwCUgCNyFj6AZd7iT7T+dygfMrmghMB76/+kigfInumk6TwccGj5eKxBk3uow9Fye2CaGhwxUpKMTBN7fqyVwtmMvcYSogLaWNPD9WwttnmtUdJ1mAHcR96hy9OxW++0WxUkUY X-Microsoft-Exchange-Diagnostics: 1; BY2PR0401MB1768; 25:+PJ5RimxjfJh+8WmQ2cyhXQFwJ2HYoWX6WkqNis9f7qZd8WljvmO9wJZCBWgvq80ABYTFWnqgm/Hi5IRa7etvnXYLAazn1RR6O7OGWZjaI2k5yzZ2O27Nv7NtiT8eTggEWwJhqeqZM15Cubo83B5oVw6tznWtLc6GObSK+KC3TPz3cnOwXc1BAnbDe3juN7BTvaUhs6LbRnW1l11UtK8YAQetTDfPhUI5AMaeM7xsOgfU5ZdtSKvytn5cC+vPEwbkDIJ0rJ2shj3BoT1rLtpeC13kaY+XaZATchR54VFlquA1FDS9Qz55VWGEfWtxjJj/fBnkyfZJljXBsuw4UHRy56C6vTmJQ8X4gxa3gu8X8c5rO63ihyS2MYC1zYPf9qSg2slzy+IpQPz0mBiVPYj75mdd6Pfd0gm2E5Y4Nw4hXYtTMHEeYQ8Tai7vLCFXeBDjo+cqt0OTVW9z7fQeOZoWw==; 31:blkcRcYJwKLqCS2tLcRf2SxCKaBObbWfjBE9mmT1PdpPkocd33L9GqVQg0ENtdDT0vZZhy79wBh2XFK6itjh6vnrUod9AmeQ1C1JpRT7YzKwYIGf/SoEyNyp9yjmKDu1eDC5rwxIb3qr+RK66Nqs7oXRdupxvx7RxM/a7f70Y1VmeZq4FR/7sll4a8SqhNlud8AYz/cK5FASqbvUp2onTxHn/1tfATub9JkGN2SlHXbREPYu2fNt7dG836wnxsMkC7Om3xW87eJYx+9cXahycg== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; BY2PR0401MB1768; 20:K8e/7g61bo68GXNMJy6vGoJ8kAgRF9nB0L9G4HTLatbF73N+ImeAAmo43vmT849ijkgwxPitIEhfMSqKr21ZtImy/OO9ROWI4NivTAMzzq1qeozg0s5SnmoxivWLREqwRlJNRh3NesiPbthrTyqEn8i/QHeYDggeT6wTdZUgRl/jsnNQy7PQUU+H/I/6/0SHHJTRWRPL7paq0X54jFZQFhJ8MDwrsZuvm2iRk64trdzGKywer1EZ2l37ACHM+9cbvvl09+D1dTwj66EI+6HzVgNcfaDtx+R6MzU715Phu7sMcniB03pMS0ZXng+t9EtBUNJHWTKxJyb5m7Qc7xZB9RAeeRzdor7FSCyt6UBxrlFvPH5X7maHljU818wI/GLA8Zb8+Bdu12A65i9snaztiH/OQMDIqua3PkS1E3JvT9CZvYw+9kM4obzpZvSiSJY2/J8BPZ8/aduidYvh0N4tMG3Hgf9DufacP3W4RYOCeLbKfU+XVq+5lcwXgrF/772W X-Microsoft-Antispam-PRVS: <BY2PR0401MB1768611FF0083DAC053497A281100@BY2PR0401MB1768.namprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(13016025)(5005006)(13018025)(10201501046)(93006095)(93004095)(3002001)(6055026)(6041248)(20161123555025)(20161123560025)(20161123562025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(6072148); SRVR:BY2PR0401MB1768; BCL:0; PCL:0; RULEID:; SRVR:BY2PR0401MB1768; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0401MB1768; 4:bG5J6etfenB2xVbVZzcXT+v+8PwYEhnUwY+7HeZ7pHMYulgbZ5r+izJVloJIZ2Z7xO7dI3nMKnv2qoUijg77IzfI+RPlpiXDkcO4KrZzYg1t4q+9lfn20H7ZgHMhXMBTrQnWi99hGGpM9YhB4mU4JeXz0lXVN56p+YtoUiVp8fhCbOKZ/TzdcdYJwqo2L14itDR6X4anQ6Sc9IVogTOCfyH9MKShhAHup1DjCUFZyWUh8/eNOGaz7gFs3umYVX6gskr0PZOQoafnGT3R9GiLGKw2m9gIV8xsXNhB1awn1AfVEBoKCrX7EVG2v27TOtIJUPaMFUSoC9bMxJ5ec+cuiBhmOoMy1C7vQkf3jzT9fYdwhNc1hDOY7DVAXUq+WiBPElvLwxRHWRFfjMIDloNbHPOB9nlaLVE31WxiCknUMwae1/d3OU3u9QytenNcgAVTU9wxPX1LCnu+Mg+vxbNx2vBc9SzEjAO247nNSYP6t0TI+CJGxU8cisoq3SsF9ct857HXfdDQVXKNhfdjUV3wpzYTryi7MClUsrYliYPOejEUHYfB7zEN1kFWPLjL20l2lmXSPLheWb32rjjc3sN7aw+bjTMKNtmPU7/MaRXTPB85cZpV67tL9TWqFP4TJKYjAlskvO8RtWSFjz7MBvj/uoyFVNUXnEEWadbu1ZmQ9oyLBD/Qpk2Ph9F7cQ5KrX5/h7lg8OMtn9TE3ioEyqVHi9j7szJGHhwhz3ZjZDrtuhFIBl6aUhWC+Q0D8727BYx+qfLANv6XGSh9tOpP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S3wJ8DZ76e4AEqJvpwQohUcJiVkFR7zcgAtcy+66vfSuJTRW8fBmSrMKc1QSmOv3HlPKDDA6MIzdhHb92R8qscg==; 24:Wfiztki51DbygPVV8KyUUJNUGkvRV7K9W4N/IwcT8aZPiHYpgh/YMWrkxdP4eFdB+CKXgEyxGpIf6sFRzTjwqRmmN8ef+4ircK+UPPt+rOU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR0401MB1768; 7:4x1VQ+gFSb30ymPFo9bnGWQeOUNWKgZi9QRZRCWrRq0Q25TXbQGcQAFUllivvna2pU5XL3Qf7lTUNmJmQp44uH6djIl/+yU0Wpdl7nXDfczSrlu/mr056JEk/XsvC1gEp2+F3IOWW57RkUmwEIGHVjrVKxIIBdug1XN2mUag0f7M0ENvAuCE+SnacAividMNcihnFDUGaw09bklqjsl2JcNNKQHxVT8M2nkfbp3i024KEO5rG6Q43+PZKGZIVK5gQMCyadeExwrdRae167Z+H1vZTTcMwJPF3EYXOEpKcBatDRHFSEB8nI0MeNHzw0DLdTpYwPJu2AImtSIGY4Q7sg==; 20:45ssZYOVlfSl5Q9Gn3l7ZF+lPq9br+bnTa3w/XZE5K+p/fysSZAjw/4Wbs+d6ofogHuKF3kqMlLmJ0W2ye8+dMGJ6hYEF1b9xCKGTbL4WbX5IdpO+cTEZr0AL5jMsdsVoh7SCxPIdwI27Qop6h4G3sbnbY+HKt1jcboWxDZwDUM= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Apr 2017 17:11:35.9025 (UTC) X-MS-Exchange-CrossTenant-Id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=b61c8803-16f3-4c35-9b17-6f65f441df86; Ip=[63.163.107.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0401MB1768 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 27 Apr 2017 17:12:07 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 27 Apr 2017 17:12:07 +0000 (UTC) for IP:'216.71.154.45' DOMAIN:'[216.71.154.45]' HELO:'esa6.hgst.iphmx.com' FROM:'Bart.VanAssche@sandisk.com' RCPT:'' X-RedHat-NoPTR: 216.71.154.45 has sent a message and has no valid PTR record X-RedHat-Spam-Score: 1.193 * (BAYES_50, DCC_REPUT_00_12, DKIM_SIGNED, DKIM_VALID, RDNS_NONE) 216.71.154.45 [216.71.154.45] 216.71.154.45 [216.71.154.45] <Bart.VanAssche@sandisk.com> X-Scanned-By: MIMEDefang 2.78 on 10.5.110.38 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: dm-devel@redhat.com Cc: Bart Van Assche <bart.vanassche@sandisk.com>, dm-devel@redhat.com Subject: [dm-devel] [PATCH v2 12/13] dm-mpath: Introduce assign_bit() 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-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Thu, 27 Apr 2017 17:12:41 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index 5a3200332eb1..6cab04a0e565 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c @@ -613,6 +613,14 @@ static void process_queued_bios(struct work_struct *work) blk_finish_plug(&plug); } +static void assign_bit(bool value, long nr, unsigned long *addr) +{ + if (value) + set_bit(nr, addr); + else + clear_bit(nr, addr); +} + /* * If we run out of usable paths, should we queue I/O or error it? */ @@ -622,23 +630,12 @@ static int queue_if_no_path(struct multipath *m, bool queue_if_no_path, unsigned long flags; spin_lock_irqsave(&m->lock, flags); - - if (save_old_value) { - if (test_bit(MPATHF_QUEUE_IF_NO_PATH, &m->flags)) - set_bit(MPATHF_SAVED_QUEUE_IF_NO_PATH, &m->flags); - else - clear_bit(MPATHF_SAVED_QUEUE_IF_NO_PATH, &m->flags); - } else { - if (queue_if_no_path) - set_bit(MPATHF_SAVED_QUEUE_IF_NO_PATH, &m->flags); - else - clear_bit(MPATHF_SAVED_QUEUE_IF_NO_PATH, &m->flags); - } - if (queue_if_no_path || dm_noflush_suspending(m->ti)) - set_bit(MPATHF_QUEUE_IF_NO_PATH, &m->flags); - else - clear_bit(MPATHF_QUEUE_IF_NO_PATH, &m->flags); - + assign_bit((save_old_value && + test_bit(MPATHF_QUEUE_IF_NO_PATH, &m->flags)) || + (!save_old_value && queue_if_no_path), + MPATHF_SAVED_QUEUE_IF_NO_PATH, &m->flags); + assign_bit(queue_if_no_path || dm_noflush_suspending(m->ti), + MPATHF_QUEUE_IF_NO_PATH, &m->flags); spin_unlock_irqrestore(&m->lock, flags); if (!queue_if_no_path) { @@ -1596,10 +1593,8 @@ static void multipath_resume(struct dm_target *ti) unsigned long flags; spin_lock_irqsave(&m->lock, flags); - if (test_bit(MPATHF_SAVED_QUEUE_IF_NO_PATH, &m->flags)) - set_bit(MPATHF_QUEUE_IF_NO_PATH, &m->flags); - else - clear_bit(MPATHF_QUEUE_IF_NO_PATH, &m->flags); + assign_bit(test_bit(MPATHF_SAVED_QUEUE_IF_NO_PATH, &m->flags), + MPATHF_QUEUE_IF_NO_PATH, &m->flags); spin_unlock_irqrestore(&m->lock, flags); }