From patchwork Wed Aug 31 22:16:02 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: 9307957 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 2091060487 for ; Wed, 31 Aug 2016 22:33:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1201C29107 for ; Wed, 31 Aug 2016 22:33:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0623029123; Wed, 31 Aug 2016 22:33:15 +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 BDAB229108 for ; Wed, 31 Aug 2016 22:33:13 +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 u7VMUebK029395; Wed, 31 Aug 2016 18:30:40 -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 u7VMUTMj005226 for ; Wed, 31 Aug 2016 18:30:29 -0400 Received: from mx1.redhat.com (ext-mx06.extmail.prod.ext.phx2.redhat.com [10.5.110.30]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u7VMUTvF011956 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 31 Aug 2016 18:30:29 -0400 Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0089.outbound.protection.outlook.com [104.47.33.89]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 968588A4C1; Wed, 31 Aug 2016 22:30:27 +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=HUlgRhJRToZuT760fPb0RAlUEw34hQ92DaDns6Uk+ec=; b=PDhtP5safFPpqGNbr95pq8/Y/W1iv8pcVrA24IbP3nMAOPzqkmuB1cAruO0XQvvvyppWvqDR7YbQExZ1n2t2paaDOKAFFBNED36nwHtjtk22WsZqTNk04EO6/FnBSqibx2aBnR8ULPKUSC4EPNK+4vi/l4KXoFNQE8Q2Qhq6vjg= Received: from BY2PR02CA0058.namprd02.prod.outlook.com (10.141.216.48) by SN1PR02MB1310.namprd02.prod.outlook.com (10.162.0.140) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.599.9; Wed, 31 Aug 2016 22:16:06 +0000 Received: from BN1BFFO11FD018.protection.gbl (2a01:111:f400:7c10::1:170) by BY2PR02CA0058.outlook.office365.com (2a01:111:e400:2c40::48) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.599.9 via Frontend Transport; Wed, 31 Aug 2016 22:16:06 +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 BN1BFFO11FD018.mail.protection.outlook.com (10.58.144.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.587.6 via Frontend Transport; Wed, 31 Aug 2016 22:16:06 +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 B1.90.26959.F0557C75; Wed, 31 Aug 2016 15:07:11 -0700 (PDT) Received: from milsmgip12.sandisk.com (10.177.8.100) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.301.0; Wed, 31 Aug 2016 15:16:02 -0700 X-AuditID: 0ac94369-ef8199800001694f-81-57c7550f4041 Received: from exp-402881.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 2C.39.03606.22757C75; Wed, 31 Aug 2016 15:16:02 -0700 (PDT) To: Mike Snitzer References: <18db2396-cd4f-1d52-1ffa-21b9b512eaf4@sandisk.com> From: Bart Van Assche Message-ID: <0753eed4-ba3a-a747-648d-cd5520916134@sandisk.com> Date: Wed, 31 Aug 2016 15:16:02 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 MIME-Version: 1.0 In-Reply-To: <18db2396-cd4f-1d52-1ffa-21b9b512eaf4@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrILMWRmVeSWpSXmKPExsXCddJ5kS5/6PFwg/vzhCz2vpvNatG28Suj A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ECMTB6dUA6PAhP8qV0Oczx/taA7ZrLlk6U0OmbQLSxrO/LXNPlXd OsPM3Sj5+Munc3s9G/M/lZSuYWlZUPL0XEPPpp/sLJfuCdctnnJLXKBQXIZ3cpXd+o8fH9pP e/NU73Xah0ef/voFpOoLpDPGSdfkBG6OPB9o8j8r0zTFUv/r0eDLrDPZzuWsYvjKslGJpTgj 0VCLuag4EQAHbAU13QEAAA== 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)(189002)(199003)(8676002)(54356999)(86362001)(76176999)(97736004)(77096005)(87936001)(2950100001)(19580405001)(19580395003)(4001350100001)(50466002)(50986999)(31686004)(81166006)(81156014)(69596002)(36756003)(8936002)(65826007)(5660300001)(586003)(47776003)(23676002)(33646002)(83506001)(68736007)(2906002)(7846002)(4326007)(31696002)(11100500001)(189998001)(2270400002)(53416004)(65806001)(106466001)(450100001)(626004)(65956001)(356003)(92566002)(64126003)(110136002)(305945005)(229853001)(230700001)(7696003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR02MB1310; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD018; 1:67Wb10Wu3/Yq5PSAxzqUI4sss0OTMsJZWOhuPF1YnA62UxU5ogowGpdbFCCintACbgUc/lyLQ+utKrakdJaWuDJmM2LpIs1AyCJcAUF3y85BvYIyC7dzXIKJUPd1LqO9Ou8+kH3l03QKnVh4/nbarMGiMb3lKGzvROkbZiI/cdbZWCvAD2vg/LZ4PRFY2dAQdAQOcUr4YNoSY++ve/Fsz8rnUdw5Vjn/hXIXFOPGpXevpjYYfMBT7CleQtf1ZHq3xTrWX0u3qCo61AGlvy4Nd/4XTHxp3ApNbP04k/6Rj5k5lsc5wsD46rzDZqcafz94aKJcp59YVkQ+Ft0L//2HoRxB287IoSze+PNiABEsTdYtBiTG10TKxR+9AXWwjgu6fXNSuYg5tlgFZ1xZIGiTYQ7PVDJtSdjS5b94oFIM5oI62jeQBUfYHe6R/qTBFHpSxYzy+ticz8vQoDtihXMMTWWqn5MMX7PJhUs3/C96nnQ= X-MS-Office365-Filtering-Correlation-Id: f9e009a2-92c3-41b1-cf58-08d3d1ec678e X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1310; 2:ZkCTADZtFa7GjIQ3w1Zox0UXohTVuilw3d7lXaYnsmOX2TIt3vMYSgPl2/o9n2N3M9wDFDIoZ4L2drBMj5O98XCIojV/dyFhaIcDzcV3GDSKDNkRiKGQrmGMukDhYfJbBce8hD5nsOPwYBthpCcDu/OkJTQ8r8lbOobCtLb7tVjZWpVlHQ4a338YPNIS7zDG; 3:u6Zn+DbceHBC+fvZGTG6F/o+ijKdILUYfyOY5l1N/zTpvdsJSZkrVC4EANpNuwix/UQs1xEL97nZLGk/MfWHtgAR547vxbhFGQN0s5O3jncRx/ViuZC9IlzBdjCnvDR+k3xvkdw1ytiLvIBseYxjdc6OFMPeg1WihAYcsYhbqhkFSbYuGwKEh3LZtS2GuDvN95t2FiXkiMV6SWgkKnsku0K2yrlU+1LazrnNJCdTE59jDcnJ/MFo+EsHUmSSl6+C5gKz57ywh1AisQP/DF+vyw== X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:SN1PR02MB1310; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1310; 25:EF76sh1oWMD7P+AaeuVWQs4pQc71bA+7jKHGQb8wtHFTiEapf4NxoA6YCX0thrUnxdGTgocdIRy04FRv9OvxVU3xcy1d8AcF3C9UFny6/YzjXcTxSg0LSaBKnHJ9KRiiVaioiw0RxUhn5qabOGrpRASQIsx7BcACDF3M+25UmKHdMb/XcdIbBWRrAVoac8GnK4SzP94yt1OIq+8tp3kyi8qfs2NAmGEc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5EAh0FEr+r9gfIql6yH2I0pH0mZJO1uEkane+iJYFcWYYp7KtlRmEV2yZM1AUQ0yxxQxTciJYSMzhX22gM/hdNxcbOUhCgzsjHRQ1mrcqJ6U3lmwZGsF7jRpwSGbYRPgBSdveYucmI/VV4yw2IHTaB6WPqq6hx11kUJkmjIWJVbr4vH1LKB60bnmOKYPsk5Gn8og4l8RQ0tVk4kNGNNhOKTU1eDC4C43UhGXhmo3ajrqajLViRhp/N3CBAVxcTeMd9Twe/yeUsipi7fPMkDvrdSImN8KvBG5ESep1bZBUV4Y6athbcNp/1LLOHT0m2e 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)(5005006)(8121501046)(13016025)(13018025)(3002001)(10201501046)(6055026); SRVR:SN1PR02MB1310; BCL:0; PCL:0; RULEID:; SRVR:SN1PR02MB1310; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1310; 4:5beEwU5vT0T7kA1nnA+RYQNX3AT+50e91OIys77foA8NBal0SLL6CDpRkD/euso6Ol/6wI2uoQI7nReJDjtwN6WjhgoBestQoIXSrhY6Up9lx31NvZHyXFRnP60i+lDS1mvUcriO9HwkLUsgPYrVbQfn+3HxkUArHXYh5uhyjVHiqHoIEWM0T+ehA+TwVZ9yDBLmm+8AVGd+SZsvf5+L8UqCTYpMJ03VgdDjHiCTaZA/7jCgjV8AIJe+kf61ElBY0i7iGjvL3toJD6a6zTtDh3g/bZySbK6Jwu1vt5/XSGetG5Yec7lc23vAqQfV/2b0NiAzUr8oe0IQE4f3SA3oe8ejqUtgOBPYHCqjPAQc3QOUgo2kD+d/CLeGRnNPpNPrPgyuLXV72F7SnBU7mhCCSzblmTCvZLlTksYoAFPvrYIM9mM9ErRXqFg+L5gYtiCDv6B7gVIamriJFYo+i08G9iqvj80/B0zr2zgrsJgQLiY= X-Forefront-PRVS: 00514A2FE6 X-Micro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oft-Exchange-Diagnostics: 1; SN1PR02MB1310; 6:mSNbhYoWcsu0dYWoKjzrZiKiSV+bqgR6eCidM+KcHR3A79jxzd9F9itnabdmA2+C7AHWnX64UIniyo/jVv8uNsmGGyuydwvNkYaxdbOAilEyAUgxSrLai74o2xnQddJJ3RgBWMnLTBhISW1+25kun3GcOI6taJH62QAB7hxSq5rFNLSQxVVeOkqTWNBLOYuw6rQ3TCIuEfwoR67yFuvN/C9EAIufBXMcXrD5Z7jcqMdmAHw911X1bne2kep1N3s1M84+aebYjWsajtvn3esgPHuYhOHVNKtV3KgO1zgg7EuPT5mXAxusypJ6+1Rrw25cw6axKEd3ThK818OO3Bjs+A==; 5:6m4PkqJwINUl+79QR6LcRE5FdfhUIHf5drP2EFQdE+kB6nLLnvtRv8jMbcbOAg4a6nmwhYR2ZcxUDCIn40wFRp41X2hEkt2fmIJfUP3HtxhbQNarVleUVSTr7kO+1nK9HcFhyGQ16D6Z7FYjxhtWIg==; 24:cqlG14oWteKw6I5TTSD4SS2yPp40O3qUD2IM8A+0Nc8ZlNuhtMj7DfJKZ+gtyX/ejT7m8EtTlgfxZmITin8g4EtpPC5zkwHqbWVg73qcZtQ=; 7:hwsUaXZsNjwCYzOtNrabtv0z+XRJcaziVnkCogHdEXi/2r5mlENVgUiZUJR5BHZASj/2K/8k0QNh7uS9e3L0AG88l252xGIS7gSEbPqmwDrOzOXrSBBwrx0nWfYaPfYEwmduJ7E4cBiUqwN3Gpu5CPVN5RiEsewCAcOnv6jss+Ct0MB7dHs84VGo5WkEKVkoutcnRobHdqT+d3XshnphDxFvUWrflamm4oTgsVNzLNsw/hKhw2w0h0Uh1/7r0YQS SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1310; 20:/jvDKFgvqktQ32Ccv/vMg4MDEdIelbqOa5TMJiU31pw4XcZUfPBsVKdcMt30elJXxahnrkbIDAOgd44PivyC57YDCIZwDCmI6Q814BLyLtwimjfsYUGBJF+VmklK/6oDSDsyODR4RmGnZPjNagX/tqGKJdFytSthurgpJbj0fDw360R8kw0Ueih93QPYfV2sobjC7mAM/terTJmzdTqwuL0UNdXFnQ1XEODWZdY6nh8S4uJywG5EVvMRxWlsHDdG X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Aug 2016 22:16:06.6151 (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: SN1PR02MB1310 X-Greylist: Sender IP whitelisted by DNSRBL, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 31 Aug 2016 22:30:27 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 31 Aug 2016 22:30:27 +0000 (UTC) for IP:'104.47.33.89' DOMAIN:'mail-bn3nam01on0089.outbound.protection.outlook.com' HELO:'NAM01-BN3-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.33.89 mail-bn3nam01on0089.outbound.protection.outlook.com 104.47.33.89 mail-bn3nam01on0089.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.30 X-loop: dm-devel@redhat.com Cc: device-mapper development Subject: [dm-devel] [PATCH 2/9] dm: Rename a function argument 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 Rename 'interruptible' into 'sleep_state' to make it clear that this argument is a task state instead of a boolean. Signed-off-by: Bart Van Assche --- drivers/md/dm.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/drivers/md/dm.c b/drivers/md/dm.c index fa9b1cb..1d3627c 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1934,7 +1934,8 @@ void dm_put(struct mapped_device *md) } EXPORT_SYMBOL_GPL(dm_put); -static int dm_wait_for_completion(struct mapped_device *md, int interruptible) +/* @sleep_state: e.g. TASK_INTERRUPTIBLE or TASK_UNINTERRUPTIBLE */ +static int dm_wait_for_completion(struct mapped_device *md, int sleep_state) { int r = 0; DECLARE_WAITQUEUE(wait, current); @@ -1942,12 +1943,12 @@ static int dm_wait_for_completion(struct mapped_device *md, int interruptible) add_wait_queue(&md->wait, &wait); while (1) { - set_current_state(interruptible); + set_current_state(sleep_state); if (!md_in_flight(md)) break; - if (interruptible == TASK_INTERRUPTIBLE && + if (sleep_state == TASK_INTERRUPTIBLE && signal_pending(current)) { r = -EINTR; break; @@ -2075,6 +2076,10 @@ static void unlock_fs(struct mapped_device *md) } /* + * @suspend_flags: DM_SUSPEND_LOCKFS_FLAG and/or DM_SUSPEND_NOFLUSH_FLAG + * @sleep_state: e.g. TASK_INTERRUPTIBLE or TASK_UNINTERRUPTIBLE + * @dmf_suspended_flag: DMF_SUSPENDED or DMF_SUSPENDED_INTERNALLY + * * If __dm_suspend returns 0, the device is completely quiescent * now. There is no request-processing activity. All new requests * are being added to md->deferred list. @@ -2082,7 +2087,7 @@ static void unlock_fs(struct mapped_device *md) * Caller must hold md->suspend_lock */ static int __dm_suspend(struct mapped_device *md, struct dm_table *map, - unsigned suspend_flags, int interruptible, + unsigned suspend_flags, int sleep_state, int dmf_suspended_flag) { bool do_lockfs = suspend_flags & DM_SUSPEND_LOCKFS_FLAG; @@ -2149,7 +2154,7 @@ static int __dm_suspend(struct mapped_device *md, struct dm_table *map, * We call dm_wait_for_completion to wait for all existing requests * to finish. */ - r = dm_wait_for_completion(md, interruptible); + r = dm_wait_for_completion(md, sleep_state); if (!r) set_bit(dmf_suspended_flag, &md->flags);