From patchwork Thu Apr 27 17:11:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9703263 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 1081C602CC for ; Thu, 27 Apr 2017 17:13:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 070CC26E16 for ; Thu, 27 Apr 2017 17:13:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EECC028635; Thu, 27 Apr 2017 17:13:09 +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 47D2526E16 for ; Thu, 27 Apr 2017 17:13:09 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1802B6264E; Thu, 27 Apr 2017 17:13:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 1802B6264E Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=sandisk.com Authentication-Results: ext-mx10.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 1802B6264E 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="XHLQKeAL" 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 E2A82938FE; Thu, 27 Apr 2017 17:13:07 +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 A90B018523D1; Thu, 27 Apr 2017 17:13:07 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v3RHD7GS029949 for ; Thu, 27 Apr 2017 13:13:07 -0400 Received: by smtp.corp.redhat.com (Postfix) id 38826938FE; Thu, 27 Apr 2017 17:13:07 +0000 (UTC) Delivered-To: dm-devel@redhat.com Received: from mx1.redhat.com (ext-mx08.extmail.prod.ext.phx2.redhat.com [10.5.110.32]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2EDFE78214 for ; Thu, 27 Apr 2017 17:13:02 +0000 (UTC) Received: from esa3.hgst.iphmx.com (unknown [216.71.153.141]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 62648C05AD7F for ; Thu, 27 Apr 2017 17:12:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 62648C05AD7F Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=sandisk.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=Bart.VanAssche@sandisk.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 62648C05AD7F X-IronPort-AV: E=Sophos;i="5.37,384,1488816000"; d="scan'208";a="13585359" Received: from mail-dm3nam03lp0019.outbound.protection.outlook.com (HELO NAM03-DM3-obe.outbound.protection.outlook.com) ([207.46.163.19]) by ob1.hgst.iphmx.com with ESMTP; 28 Apr 2017 01:11:40 +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=Mtl+F0Kz8OO3RKW8jUWclgG8h967Huq2wDfEQvK7pjg=; b=XHLQKeALR/MMmOmpA+XeAVayZ9Uga1fYOoOzHjB+26dAIZVJIw0VbVyB0YoEGRpJyEzEB8dJkXejQzKtScHwX+jSndN4ehrb7ypGcA8oyHFGPuvMjk2iDiEZH77LadfsctPh85+A0MEs+U5S9L0rYY8aLbUBv68u8uXk3aAhMYs= Received: from CO2PR04CA0085.namprd04.prod.outlook.com (10.165.94.139) by SN1PR0401MB1773.namprd04.prod.outlook.com (10.162.131.27) 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:38 +0000 Received: from BN3NAM04FT003.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4e::206) by CO2PR04CA0085.outlook.office365.com (2603:10b6:104:6::11) 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:37 +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 BN3NAM04FT003.mail.protection.outlook.com (10.152.92.112) 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:36 +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 96.AA.29323.54622095; Thu, 27 Apr 2017 10:11:33 -0700 (PDT) Received: from milsmgip11.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; Thu, 27 Apr 2017 10:11:28 -0700 X-AuditID: 0ac94369-548749800000728b-13-59022645c0ab Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id DF.E6.11415.04622095; Thu, 27 Apr 2017 10:11:28 -0700 (PDT) From: Bart Van Assche To: Mike Snitzer Date: Thu, 27 Apr 2017 10:11:21 -0700 Message-ID: <20170427171126.26814-9-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+NgFtrHLMWRmVeSWpSXmKPExsXCddJ5ka6rGlOkwbotWhZ7381mtWjb+JXR gcnj/b6rbAGMUVw2Kak5mWWpRfp2CVwZ66b9Yi84Jlhx9uUHlgbGLXxdjJwcEgImEus2XWXs YuTiEBJYyiRxZvU9VghnG6PE2dtNzDBV186+Z4FIbGaUeHL0HQtIgk3ASOLb+5lANgeHiICq xK1pLiBhZgF3idMv37GB2MIC3hK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-Version: 1.0 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:(10019020)(6009001)(39840400002)(39860400002)(39410400002)(39450400003)(39400400002)(39850400002)(2980300002)(438002)(199003)(189002)(9170700003)(54906002)(36756003)(2906002)(5003940100001)(4326008)(450100002)(53936002)(47776003)(189998001)(50466002)(38730400002)(110136004)(107886003)(86362001)(76176999)(50986999)(305945005)(5660300001)(356003)(8936002)(81166006)(50226002)(1076002)(77096006)(106466001)(15650500001)(6666003)(33646002)(8676002)(2950100002)(6916009); DIR:OUT; SFP:1102; SCL:1; SRVR:SN1PR0401MB1773; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN3NAM04FT003; 1:pivkHCs8P9Ey1WlbxripqcgkXreyf9zAVKtb1H8bW79xyV0Up2qrYAhuhz5xQExLaqrxW2hehpquOTt7tyz5BLoO2pH1u4YZehepi8D2qpkTd/PRI1L/MT50jXooApZ3//vvV6aJUm/2flqmspIIlUl/Q2Z05nkTd8ZUxAxbKQLsnpAATLG496PHwlP9RkeeEGJrMLIijBtDZ/2h6Xhh+qYxhoAnjgGF7S1LMjjWbWGk1N/02NZm9BE4pbJr434B51BcxsJtHg8bVJMFIz1zoUqqfKpgSDjUE2/zerOlvUOjO8xWF+Oo4rRF5d5n2lBC+0L2qmWvCbI3wW1gvvI9GvrsutQePQh4+KzgSep3rxW/VTmOUnIsJ61p3bhm22fQ+Roa5hfXC6rkkOBUjfxPOeGkdTyrko8uLEpF1TdOgsl+xd8U8jZFOSBbJ9WE6TXEJy5/FR3t8i1Cr3JxyYa0iFMxaV4TXXs6iWSqR8AWp6RKEZ/a3SOZ2E4pg4fEy6JE X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 14813bc3-ac33-4b1a-ece4-08d48d9076ae X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:SN1PR0401MB1773; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0401MB1773; 3:CgaYyH/c5XkGyrjDJyE3N+AODek4ymy/xujll9CnWj6R0jivEzuGYbnqlpZds2ClaRjPejZkZWza7wMeJ8ukZLr1ii6MpZnCnyjNI3wV7Q3leABHNzL9v5P9JrbSWJWTZQalPVRUGvX3qW/YqPvugbrEcLNt1N9H9U/QXVRWkMFQ/e0ApEW+WHaBtMnOJxF09t4z1FNRSkhLUK1CTHEz/1CQZqwsn/5vQL2wRgjrIR6s2hXhNZ5thdMscKoWE69Fjk9OC8g3zRrrKylxRDtyRKb0kWh/IJAd6N4N8aDmdT/KNBEo9WPsGy+buN1G1YmQgrRtaCGdHNCOYgyO8/qY2gFWKwWNicyIa8df5JbS4Lx4wSSfY97NfWrKfnL3Y6Xvgns8Jl+THwVKzPIh/hPj/j7K6yYkQBGkknSMdOAyrnVqpSdE/ek9OdbDQWKc8yBF4ru0MFpmicfFJ35zK4hjDznsZhFdJoNgaTQFLPsS4PNpRzj8FE2sDaOwXkF0VZfZ X-Microsoft-Exchange-Diagnostics: 1; SN1PR0401MB1773; 25:dJt3G5YqRkF9Ai9BAa3WvQqw47oXQZ6Aul8uBgtCvF9eoA4eJh2qQPYd7v6IKAxHTWXOf6ANSasv+kCGFlcSvFxUhAYOtmazoSHluq8Trr2C+t3Pr+gJXqZx0jmwImNGSE/RJHFKCp1FkmiwfZ6Apx6h+SNOc/bhMg28SHRGGaQZj44rxdHk0wtiT0bZaKIvWaqjaVsEqbnUqom/sLmN2QbSD3oNO88KhBw4vwKPZ6UGGtypkBZAi2QBxhmRoLm9iw/ktVu6HLWzqEdA5F5sjX7ieZjFa8CVYxWqKHmQaGTy7CcM33afm+ZZGMC3WrZR5dvPPI/nQNvx9IM5Vd/QfxMf+44m1U5Aya+52PgVWy3/1zdsMK4h7+SPdupsrhwGld4e6P+l9Z2bGuj71bwN/p4xuuwZT7xcqGLZJZVuU8L+Vl3w2W+2fSQOwA9ghLqhDWCRGi4dnEzXx8JexJQtGA==; 31:IJDzGLdePrdamdeB1SFMluYCy1TFIIRco99I/4+Py1Be0q2dKtZoV7xuINI0x7TFihp9wvN1I0KWvudp9kqkn3oMoamZmLjD0C3LY57dzdLeUDUP8++2kkq7DusTz+DCAeELnCBgFwiumkEtMXwXseMcbOM8DFyJ0Q3GMitrBSa06ynhesUoSGD4bhznTGYRhf6gP+8JJkYhj13IB2bAEqbGoJscATVoC2JxhE+9TRspC2o7YymmtfVj5jNj93omowTAYXXn99/t45bNbGB2lOL86kwqxnZoKsGQpt3cFDQ= WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; SN1PR0401MB1773; 20:vy/Mh7V3XVFEowyukzyR8VDZYl53Zse9JFegg0SzQKdouNADhJfI0I4Ug+gpQHnUzTXoo9LpGIPrqG88zqSKAd6Jflq4GBAjk6ekSjz/BAmnIsJfIryK56N1ExIJJjc6AX1r6xdEkvJneLOMKyTok105lO7cbIalXZD01UXr9KTP3MsRrNub2oBGgCd2fbjurqxRobV7pN8fYpKoET9af7LbdtdkzY3QTDoZ0YbmSfBy0HYhFwdY7uduDSULv2rZYGD4qxj13HcLB49mPQIEAcH3MSOWsg+gU81KuiCtwITsX/Zq/2nclc3Sahf3gTxitygt4/os8H5ynavgB/FzY5qYZZU1ydiymYHluLQrn01INuCoHLEL6/2L0jzAWGHlDOk1Cmos/GNDYSFiQWDMeVu6/Oi84pmKcCwJ1vly3Q4x+NBZzRJgAZZOU6K2mMpdf7fUhrDyz32+9D1YMmbclzg+5VvDf0l2OZLxB87CH240ziAE/royYJK7Jk6fo7Dj X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(13018025)(13016025)(10201501046)(3002001)(93006095)(93004095)(6055026)(6041248)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(20161123560025)(20161123564025)(20161123555025)(6072148); SRVR:SN1PR0401MB1773; BCL:0; PCL:0; RULEID:; SRVR:SN1PR0401MB1773; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0401MB1773; 4:A4WkQQ/XfbUq8YG4kpymUmfAhU/Hd2qrM1nwQWxYRcOeU9s2WG1fSw2/mtMk1ooNnVALVeX16htILmeGKzhHCi19GNNsNAr+Mkh3T44qvLMSkg3K0v3lYKO2nsBUDgZl+BmV05CyjG8RtYvrkz5F6KHDDGLxeGpOp4iU/0PuaYddxwFPe/PmXqv0K5ZaNgh1NQgFLsjqOtwWKOwHExm5ZclFFpx+00to+4E2huT4tdede2H70RrinOza9cOB0tvbdWMd+qbGv0Xl+KhOa1qOcTz/IKXbgox6ldCTxkaE4ESPPxwwMAofd/sLl+fN9x27d/nJdUhpotwIIC8qu6bpqlrkkmhwau/a/JA61MDtQENcT+8REWQOH20wQyLsS5l6scrk9QSGIv0mj7vx3UIUa5cqVQRnSxQBriUJOzMadoCCFo/FZ3R1JdbScIgwbrCOzo8spoLHhAjKK2vgjhoVeB3bcSDvKGGaf9PUgOQD/jdopA3Y1VXWX/uXqzBz0ljJemd1LH1OCBTzX4VIXfKz26HpllmZ+F0v2WnV0JmgJt6RS9CCUPJ1OXvULM315FBnNEoF3aPi5HJxRDVx+4s8iI4+3RzGQB33RWiQm14s4/owDj6nJu0oYn93sC08dpp2lHm6xr6ZmWNiQ64dlDCSuEtP/NSsVjPb0wzSbRoSf7z1ko+6HGv3RA2bpGPK0XXhqBwaZANuULTw61Mobl9oL9XkZEeM3rEuu6G3yi/XpAXoakMq8QCUw0loszQCyQ35Dk4LfKNVTqDiy94/ge+D4rBF2cBLHGE7baUdtDFgqgQldzJEtsGWOWnrQVl58oeK X-Forefront-PRVS: 029097202E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1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3DTJOpG0RdE9bshKZHZoJsiCMxev+c05RoY+ncW10FlkuJYIQS1UmMlPo2L3dFM25nCZ/IopbVyAMpm/G8GjfoN7l4yA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR0401MB1773; 7:lRzc+GSsVjlXLMZtX/jz4mYIurmGisiriCmfVf/NcLZOsEtNDH043aMncEKwIhv70FWfdTYmdYHXqfoB3BKZCXDQ3pIKeMPfN4Ny3eMgYUL2PSjaZaohpsTTXvJ8kMh6vOaUooXzAhr6Ez58gyvjvF2XkYyB4pgPg6xs96ewrGqK1Iwcw3ko+LrS3+aO7DSnt/zCPqsvSPcOmqwdGUBbt5EAasdxdLcKAzAtxon+xiNJq/wsWiW3uvnwhjAg0KaITJXNRpQIJHfSxDkNj1HMZ89BSjffYawbfO50IMu3AM0zSiGgtMdY3Xx0sKLzTkqAFxmHJon0nSCdexHPXX4Zkw==; 20:YT6Y7lOPaD8PoFK5o0vLkpbW43fNDZouUpkr/bApDrN4+d91eoywODvVaIIIGm+GaBtrxRsAiWkPi6eWZjEz5xnO9LRRx1hry0WBQSWrPcnC7Rt8edSplsbJj7pbmWZhUVimaLZGtV7NvuAPr838/sGphMvzWNjXFX5SLnEgfUE= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Apr 2017 17:11:36.9096 (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.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0401MB1773 X-Greylist: Delayed for 22:33:59 by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Thu, 27 Apr 2017 17:12:32 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Thu, 27 Apr 2017 17:12:32 +0000 (UTC) for IP:'216.71.153.141' DOMAIN:'[216.71.153.141]' HELO:'esa3.hgst.iphmx.com' FROM:'Bart.VanAssche@sandisk.com' RCPT:'' X-RedHat-NoPTR: 216.71.153.141 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.153.141 [216.71.153.141] 216.71.153.141 [216.71.153.141] X-Scanned-By: MIMEDefang 2.78 on 10.5.110.32 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: dm-devel@redhat.com Cc: Bart Van Assche , dm-devel@redhat.com Subject: [dm-devel] [PATCH v2 08/13] dm: Verify suspend_locking assumptions at runtime 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-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Thu, 27 Apr 2017 17:13:08 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP Ensure that the assumptions about the caller holding suspend_lock are checked at runtime if lockdep is enabled. Signed-off-by: Bart Van Assche Reviewed-by: Hannes Reinecke --- drivers/md/dm-table.c | 4 ++++ drivers/md/dm.c | 9 ++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/md/dm-table.c b/drivers/md/dm-table.c index 3ad16d9c9d5a..92dbc85af53a 100644 --- a/drivers/md/dm-table.c +++ b/drivers/md/dm-table.c @@ -1661,6 +1661,8 @@ static void suspend_targets(struct dm_table *t, enum suspend_mode mode) int i = t->num_targets; struct dm_target *ti = t->targets; + lockdep_assert_held(&t->md->suspend_lock); + while (i--) { switch (mode) { case PRESUSPEND: @@ -1708,6 +1710,8 @@ int dm_table_resume_targets(struct dm_table *t) { int i, r = 0; + lockdep_assert_held(&t->md->suspend_lock); + for (i = 0; i < t->num_targets; i++) { struct dm_target *ti = t->targets + i; diff --git a/drivers/md/dm.c b/drivers/md/dm.c index dfb75979e455..78706a04bab4 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1686,11 +1686,10 @@ static void event_callback(void *context) wake_up(&md->eventq); } -/* - * Protected by md->suspend_lock obtained by dm_swap_table(). - */ static void __set_size(struct mapped_device *md, sector_t size) { + lockdep_assert_held(&md->suspend_lock); + set_capacity(md->disk, size); i_size_write(md->bdev->bd_inode, (loff_t)size << SECTOR_SHIFT); @@ -2140,8 +2139,6 @@ static void unlock_fs(struct mapped_device *md) * 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. - * - * Caller must hold md->suspend_lock */ static int __dm_suspend(struct mapped_device *md, struct dm_table *map, unsigned suspend_flags, long task_state, @@ -2357,6 +2354,8 @@ static void __dm_internal_suspend(struct mapped_device *md, unsigned suspend_fla { struct dm_table *map = NULL; + lockdep_assert_held(&md->suspend_lock); + if (md->internal_suspend_count++) return; /* nested internal suspend */