Message ID | 66cb96e8-74a0-ecf4-4039-f2e8972c35d1@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 C6FF360238 for <patchwork-dm-devel@patchwork.kernel.org>; Fri, 18 Nov 2016 22:31:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B566729A0D for <patchwork-dm-devel@patchwork.kernel.org>; Fri, 18 Nov 2016 22:31:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A9B1F29A27; Fri, 18 Nov 2016 22:31:18 +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 mx5-phx2.redhat.com (mx5-phx2.redhat.com [209.132.183.37]) (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 29D2629A0D for <patchwork-dm-devel@patchwork.kernel.org>; Fri, 18 Nov 2016 22:31:18 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uAIMU55K001724; Fri, 18 Nov 2016 17:30:05 -0500 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 uAIMU4k4028370 for <dm-devel@listman.util.phx.redhat.com>; Fri, 18 Nov 2016 17:30:04 -0500 Received: from mx1.redhat.com (ext-mx10.extmail.prod.ext.phx2.redhat.com [10.5.110.39]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uAIMU4O5016210 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 18 Nov 2016 17:30:04 -0500 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0080.outbound.protection.outlook.com [104.47.32.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 40D9B635C5; Fri, 18 Nov 2016 22:30:03 +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=ylYPxXHXDbaJCtFufRAYKXjEaMiZvRJnim4zvjfYJN4=; b=vBIYO9RdR1kvU47Ow7cXczqBvE23kTzWvu/2KHS8zVprWWkcXL4X6yD1DW7x7nCFar1FYejaI7h81SiwzGpVMbUTutPDyWsXpTvO10aKw4OaWRg9jp6EBcgwxCbowuXEbozucKL3FiebiGGruLo+5l0ShJGNbg1w0Ag3/Z3uhcg= Received: from BN1PR02CA0023.namprd02.prod.outlook.com (10.141.56.23) by DM5PR02MB2859.namprd02.prod.outlook.com (10.175.86.138) 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:30:01 +0000 Received: from BL2FFO11FD033.protection.gbl (2a01:111:f400:7c09::197) by BN1PR02CA0023.outlook.office365.com (2a01:111:e400:2a::23) 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:30:00 +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 BL2FFO11FD033.mail.protection.outlook.com (10.173.161.129) 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:30:00 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:2869; Count:19 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 C5.68.02899.ADE7F285; Fri, 18 Nov 2016 14:21:14 -0800 (PST) Received: from milsmgip11.sandisk.com (10.177.9.6) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.319.2; Fri, 18 Nov 2016 14:29:58 -0800 X-AuditID: 0ac94369-5f3ff70000000b53-4a-582f7eda7673 Received: from exp-402881.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 2D.21.02804.6E08F285; Fri, 18 Nov 2016 14:29:58 -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: <66cb96e8-74a0-ecf4-4039-f2e8972c35d1@sandisk.com> Date: Fri, 18 Nov 2016 14:29:58 -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+NgFrrDLMWRmVeSWpSXmKPExsXCddJ5ke6tOv0Ig713+Sz2vpvNarFn0SQm i7aNXxkdmD3e77vK5rH5dHUAUxSXTUpqTmZZapG+XQJXxoXbF5kKuoUqzh7WbmCcwd/FyMkh IWAi8fHEV+YuRi4OIYGlTBILupYwQjjbGCUO9yxmhalatP0oG1QVo8TUWYtZQBLCAuYSx2et BrI5OEQEVCVuTXMBCQsJ2Em8WnWDCcRmFgiVuP7xJzuIzSZgJPHt/UywVl6gmjt3f4LVsAC1 7rlyDSwuKhAhsenrHKgaQYmTM5+A2ZwC9hK9O6+ygaxiFtCUWL9LH2K8vMT2t3PAHpAQmMQq cW/nPlaIG9QlTi6ZzzSBUXgWklGzENpnIWlfwMi8ilEsNzOnODc9tcDQVK84MS8lszhbLzk/ dxMjJMwzdzDefeJ9iFGAg1GJh1dCVD9CiDWxrLgy9xCjBAezkgjv6lqgEG9KYmVValF+fFFp TmrxIUZpDhYlcV63e1/ChATSE0tSs1NTC1KLYLJMHJxSDYyps1gXx764wT7bp0k7Sj0xV7SD ifWD44dXlQoGQc03WOZr1K3Qi2AxW278/bxlhdgsix+rg/NnPV57sOOau7NZ26ml17Z+P7jM zyPxVYhZkOyi/bt4UpYZnt2l7MPne+ritvSN7LNX68V/clnUM3Fb6DbmxsAbfOV37sfGG3QI +yuGWsfnHFFiKc5INNRiLipOBABiBbThbwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrMJMWRmVeSWpSXmKPExsXCtZEjRfdZg36EwZFD/BZ7381mtdizaBKT RdvGr4wOzB7v911l89h8ujqAKYrLJiU1J7MstUjfLoEr48Lti0wF3UIVZw9rNzDO4O9i5OSQ EDCRWLT9KFsXIxeHkMBiRonrnzexgSSEBcwljs9azdLFyMEhIqAqcWuaC0hYSMBO4tWqG0wg NrNAqMSP2bOZQWw2ASOJb+9nsoDYvEA1d+7+BKthAWrdc+UaWFxUIEJi09c5UDWCEidnPgGz OQXsJXp3XmWDmKku8WfeJWYIW15i+9s5zBMY+WYhaZmFpGwWkrIFjMyrGMVyM3OKc9MzCwwN 9YoT81Iyi7P1kvNzNzGCg40zcgfj04nmhxiZODilGhhb7+huP/c2a5LpxV679wasT4qfaAkr XnWWVL7/wWjLn11P9ii4Laqaxfv7Sw0zF0Or8qzgnVP3pEYb7X4gafs+4Sqnw8kvqhU+rztv TJ271zliQ8IT6UqWC7VRNm+ltVxXbZtrefT0Zt2G1r9vNR4+WZbF2f6x9GR4+YLM4+FPfRe8 8b5y4+IWJZbijERDLeai4kQANJ1ANuYBAAA= 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)(50986999)(230700001)(2270400002)(4326007)(2906002)(47776003)(23676002)(64126003)(54356999)(76176999)(65956001)(86362001)(65806001)(38730400001)(50466002)(33646002)(8936002)(31696002)(81166006)(68736007)(81156014)(36756003)(356003)(87936001)(7846002)(110136003)(97736004)(83506001)(305945005)(4001350100001)(5660300001)(6916009)(69596002)(626004)(189998001)(92566002)(8676002)(77096005)(53416004)(106466001)(31686004)(2950100002)(65826007); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR02MB2859; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD033; 1:omzYULuz52UGpbNyplceOR/m9qGZixUbRHwjuJTn9u6rYoGH6Peve3YaM19RAiTA+iY8ZV3QYE+thB9bupsVNbIv4gOrAq8tYBYNKEAxcy/xmPsX7WAOT4BJkkmVqXwGpbAdMirx9tc3PRePoC8Zq+8ST2AThPo8JBAstmkCVPzqbHhUCt1Fz0aok9b4LIt9kwPBdSfmzXMHTuM6cpdrnLUBr6ikx8mgRsoj4UC/u32WrggtAbaqHJKHFYI7OZb+AuJM6ewPNYu0GEuDAeVTLH1HkxRu2/NfRSKuxx04MLYiV6EHBtdVY9gbp9wXYWxUN+mo3/flObqVZDVTeonuuC9tNPx9zIrc+5xJVZcuZUG56JTX3ddySNxDOIYLTPbAi40vV2PjuFeQIxzVHZBSPUdaFGiCEh9dOqO6U0xJbDZzt59pgaVu9GdIE4ng9PIP0stSe5kUQmVZOnwgKt6W5a8yQulQnDQ8cOendXZegSU5sYXBQhWkc+OgQJB+jyth X-Microsoft-Exchange-Diagnostics: 1; DM5PR02MB2859; 2:vrBw/R891kd8ovljb25V3sip6vndmS/fk3Ck5rjkP6+Z63AgqRwOjrMlpjgyR7nK6SnaQdItCRIJpa6sDVGr95w6WDaXsBxODOewDhEcxbPjZltm2Wj18XYB1kxmejyTkYo5DXiknNiaB2DMPcGWn+GRLjpefarL7nvkeUl80Oc=; 3:TzoKJa7yYbi/plugIi6ahjDA28ERmy2mruHHdYLHe1Z4VejbhI85jPZ8VLt6YY3vBOzmDD3+B7eZLyt4vqj2fKeIPu9vEZNgfnP2AYwmIpIPJnDLrBJUrEe0rMPrOhTlw1qhIwQ4OY1Hq94XqenZy5Mj9WrlAH2TcDgvmKvizYs850z/XjLtiOb+fYxf5k2Avu4VnfZbKPPZ+aJFMXTOUzmO7jQkHpzPB7H3KTrP7glMhh6PftELcI0639Gx6oTiC6uvu0Oh6fiCKQmNDjbd16r640J+WmTapwTmiubR9Sc= X-MS-Office365-Filtering-Correlation-Id: 7a058a12-1559-45f1-b2a4-08d410026f2b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:DM5PR02MB2859; X-Microsoft-Exchange-Diagnostics: 1; DM5PR02MB2859; 25:DGlByaknzBX2dVWWxSwvkmdao14PE0H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hkjX9oU0Wu1SUVpBi8qkUcg61XEPIfaE3fFUwZ4tzCzRQfAYbBKn5igHaChiGwSUDvpVzh1+gtuFROh/dUrWk+PyZ5O9BvCUNLrTZTp617EaTY6D2cwC59By6qPzeuXDKoMgmEAAExE5xz8+dRwZGpVD0ORqVCQMvr8WqLvRbgkhG4m6w0p X-Microsoft-Antispam-PRVS: <DM5PR02MB2859DB6F2DA4655BF1717E2881B00@DM5PR02MB2859.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)(5005006)(13016025)(13018025)(8121501046)(10201501046)(3002001)(6055026)(6061324)(6041223); SRVR:DM5PR02MB2859; BCL:0; PCL:0; RULEID:; SRVR:DM5PR02MB2859; X-Microsoft-Exchange-Diagnostics: 1; DM5PR02MB2859; 4:X3NVo7eVIQ5pb7vxKS3M9g8FIwucnIGQjH0UgH7R6i+q3q8lF+ZKHICs0VeVFSE4R14T2ERGOPaxX9UomTtErosntwadNHC5qkOimOcRImGolvhk5AshiT7rgaRaqLm5Ci9HySz6XWqWWaV6ALWvFpsrAHNd+1YxfNqrUL3wNqJiuv5gEYXawyvx8sEjiI3AthDFLjJokTgSyopJpV96LTmUp6SC7gRDNQQlm/n9APmUAUFAriXbwHYq7gZvrdEFTA0UZpXMkV/3zko85g62+gTcknTB0sp8A5SZEXu4hrhLQe7+yWurD7q9Khr81X7AahjmZFirWbu7yNsEZb1XQPq1SgUSg0eayY1Uechc8dcfg/kf5XdRz9gb/ZUTHelcDE2VIZWL7w0JlsNVq7OoMXY+zCB6oR4X/QVn7bosPpAmQYs51WdeoXCI9Zw8SC9EvBXf05Gk3iIkzAB4Yi6am9j/Xao68PSAzSTG9bQjCABHIyYmZHQFgQyi1HBRv3np4os7LN8hCRAgOq9uuj+VB1oVvO/wzW+6+prBpvU4SlkoQVwBDLJxVmRSc84uHTE6 X-Forefront-PRVS: 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13tUzSd5gLEr99TcO6y10Gsq4RyjEreLzNk1r4bmYG0HpFoqLFjxOH0Pt0lFx6cWX+lkVd4Om2yQ1h5G7SJCeiCf9GTofwJgxFlwP+WKocWha71QAVEibYApORR4+qOYdDTPiuTqrSmSRaY5T9/Bf+yR/1RrUAIDcZBokgu1lcP1lke X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2016 22:30:00.1580 (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: DM5PR02MB2859 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.39]); Fri, 18 Nov 2016 22:30:03 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Fri, 18 Nov 2016 22:30:03 +0000 (UTC) for IP:'104.47.32.80' DOMAIN:'mail-sn1nam01on0080.outbound.protection.outlook.com' HELO:'NAM01-SN1-obe.outbound.protection.outlook.com' FROM:'Bart.VanAssche@sandisk.com' RCPT:'' X-RedHat-Spam-Score: 0.387 (BAYES_50, DCC_REPUT_00_12, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS) 104.47.32.80 mail-sn1nam01on0080.outbound.protection.outlook.com 104.47.32.80 mail-sn1nam01on0080.outbound.protection.outlook.com <Bart.VanAssche@sandisk.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.39 X-loop: dm-devel@redhat.com Cc: device-mapper development <dm-devel@redhat.com> Subject: [dm-devel] [PATCH 13/14] 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-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index fff5d12..4a3afec 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c @@ -683,6 +683,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? */ @@ -692,23 +700,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) { @@ -1649,10 +1646,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); }
This patch does not change any functionality but makes the code easier to read. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> --- drivers/md/dm-mpath.c | 37 ++++++++++++++++--------------------- 1 file changed, 16 insertions(+), 21 deletions(-)