Message ID | 20170508234052.32375-3-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 C62836035D for <patchwork-dm-devel@patchwork.kernel.org>; Mon, 8 May 2017 23:42:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B616B2684F for <patchwork-dm-devel@patchwork.kernel.org>; Mon, 8 May 2017 23:42:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A86202807E; Mon, 8 May 2017 23:42:59 +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 BDAB12684F for <patchwork-dm-devel@patchwork.kernel.org>; Mon, 8 May 2017 23:42:57 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B941A3D942; Mon, 8 May 2017 23:42:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B941A3D942 Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=sandisk.com Authentication-Results: ext-mx06.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 B941A3D942 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="uHtTpWqM" Received: from colo-mx.corp.redhat.com (unknown [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 999D05DD63; Mon, 8 May 2017 23:42:56 +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 669F941284; Mon, 8 May 2017 23:42:56 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v48NgtDn008527 for <dm-devel@listman.util.phx.redhat.com>; Mon, 8 May 2017 19:42:55 -0400 Received: by smtp.corp.redhat.com (Postfix) id 582937CE2D; Mon, 8 May 2017 23:42:55 +0000 (UTC) Delivered-To: dm-devel@redhat.com Received: from mx1.redhat.com (ext-mx04.extmail.prod.ext.phx2.redhat.com [10.5.110.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DECB27CE22; Mon, 8 May 2017 23:42:51 +0000 (UTC) Received: from esa2.hgst.iphmx.com (unknown [68.232.143.124]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 981F180463; Mon, 8 May 2017 23:42:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 981F180463 Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=sandisk.com Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=Bart.VanAssche@sandisk.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 981F180463 X-IronPort-AV: E=Sophos;i="5.38,311,1491235200"; d="scan'208";a="112966643" Received: from mail-by2nam01lp0181.outbound.protection.outlook.com (HELO NAM01-BY2-obe.outbound.protection.outlook.com) ([216.32.181.181]) by ob1.hgst.iphmx.com with ESMTP; 09 May 2017 07:54:02 +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=ukaOAho7v1tMojlnHg+v/0yXf5ZsPsXtz+ZW4GZoOHQ=; b=uHtTpWqM95SxpPzb4E32/Kst6wEPvAlE6K9TCQDXf+3v/x/Z3B4BWzokFhrfzkUOkWIIP8B+jWAnQYjD/lsvUFrrk1FUI2evEYfnLBQ+tLkQV/2jyzj6U3FdZyNoKpmtpKUp3vKR3pP+h7nmNlneOtOoBBrwbjogc+kZSMTuVV8= Received: from MWHPR04CA0038.namprd04.prod.outlook.com (10.172.163.24) by BY1PR0401MB1205.namprd04.prod.outlook.com (10.160.195.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1075.11; Mon, 8 May 2017 23:41:00 +0000 Received: from SN1NAM04FT028.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4c::209) by MWHPR04CA0038.outlook.office365.com (2603:10b6:300:ee::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1075.11 via Frontend Transport; Mon, 8 May 2017 23:41: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 SN1NAM04FT028.mail.protection.outlook.com (10.152.88.113) 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; Mon, 8 May 2017 23:40:59 +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 F8.9D.29323.A0201195; Mon, 8 May 2017 16:40:58 -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.319.2; Mon, 8 May 2017 16:40:56 -0700 X-AuditID: 0ac94369-548749800000728b-9a-5911020aaa2b Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id F1.00.18148.70201195; Mon, 8 May 2017 16:40:55 -0700 (PDT) From: Bart Van Assche <bart.vanassche@sandisk.com> To: <dm-devel@redhat.com>, Mike Snitzer <snitzer@redhat.com>, Alasdair Kergon <agk@redhat.com> Date: Mon, 8 May 2017 16:40:44 -0700 Message-ID: <20170508234052.32375-3-bart.vanassche@sandisk.com> In-Reply-To: <20170508234052.32375-1-bart.vanassche@sandisk.com> References: <20170508234052.32375-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGLMWRmVeSWpSXmKPExsXCddJ5kS4Xk2CkwbTJshbrTx1jttj7bjar xZ5Fk5gsVq4+ymTRtvErowOrx+6bDWwe7/ddZfPYfLo6gDmKyyYlNSezLLVI3y6BK2PfhBNM BZd5K87tP8DcwHiYq4uRk0NCwERi7vWHbF2MXBxCAkuZJJY2nWOBcLY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a3WrSIFsj66m7Jv7j LeumTtv8WakWjhsYpA4EfPV45qYqrnRU7mWOk0GV6s7rbw333V996R1zn+dsXznvSneBNWdq 2l5/KMw20eoqfqXEUpyRaKjFXFScCAA5doAWwgEAAA== MIME-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)(39410400002)(39400400002)(39450400003)(39850400002)(39860400002)(39840400002)(2980300002)(438002)(189002)(199003)(9170700003)(86362001)(50226002)(478600001)(50986999)(305945005)(4326008)(81166006)(53936002)(77096006)(50466002)(54906002)(48376002)(76176999)(38730400002)(5003940100001)(189998001)(5660300001)(2950100002)(8936002)(6666003)(8676002)(2906002)(356003)(106466001)(33646002)(47776003)(36756003)(1076002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0401MB1205; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM04FT028; 1:L6uf0zqsvPJudxCqKYG1XDWkwIIcVHcRCb3SGRgaPkagQfWmRz7YLW8l72/m7l64LRedcrCQsMszjTHCMg7ZyGA62MylMFiUO7CYj/2kT08FJkuUjMJZvdonzXPGiBFn38y9v52+zWOGOsdJOx97SeyF1n8uJ3zliq2pKCPirHPfPnlZ1xug85LAuKC/FhW0yBJiHqQnJn0k1aX7nmB2Iz+hu3FxJsIBVls8/0rYro/Zl9xgBXGLbd5CdPJTQp1PhAZzQIB5hP80SocvR4RKPB+FfEWY5mMEZ0TH7ku2qvVRryrtDvOeTZ0dhq4zxTXI7vXGXVB7XcoRt9H2bSJGOuoJusiSkaYM6sS6R501ByvoU71I6JoXUlUYKDuTJl4ROtXsjET6UsGZWtt10tqXnDESBwAINo2rv62Akv75q5bEB+DUXi8janvj9Wavr4nHNX2QAXkrNfw9AWr9SGl4WfkR3GuYHT673xLLBM1yXkopWKQGC9Mn35KcylkrTdho X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5dd32538-c5c8-4aba-94a8-08d4966baead X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:BY1PR0401MB1205; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0401MB1205; 3:JGVZxA1qLCdVY8PzmVkgjCn40vR6FU4Dp5Cv12vfYeYs8PvUbIWcg4Nzxd0UGt7FZsFNRPHRLjgMxUHB7SzdS/GxVk/BgOUvvMcI16HHfcvyW2/VGDERJ/QhQI9YIQZ2HJ+cyTMGT6YxGjajsRW3rgx+HSsr2MuL+nL/mUAN1CShnvUNdp6Gp+sB072pM+73jkzFuNAl6Do1baNtHkP6xx9YmhxL/NdtD0K7b204GUooQOfqBHCSw30aZzmDdBfQX+UEskRrBtCEAmwIGFDS6db2RbCEtBbiOqHTbdXw3aJVAIr6eQfTU5Tj645NGodmF8sr0hnNtIEzDymxmLXO+kihxdrNAwfhV7u7PtJkLkCnsXLS8bUTXgfubg6H1VJM1WI+NnrQh2jUB/KeDDt52EQKKXr5Y5ynqUT6XGTa44vO231FkUgn1/etQTnR4e6S4S3VGSy9hOjZbneHCrB3DV4BiX7a3w4bPsTnclop4qLNMehU/3E2/IImNODtBMvH X-Microsoft-Exchange-Diagnostics: 1; BY1PR0401MB1205; 25:cG4mNZXKBPgl87YuBM57eYeL8LPAfbb3Eg7OYF1euL7ppl1s9jFhiOT17DuoK1yHRvBM94NUe1eOWn4O+CeROpBhs8f6Zw/W0Uwo7rmjzyNKu02Qmrcmtmn+455hTKeKqtzg6qk+ZTfLWJ8ZCUKoTOvYO95PzurjR4ytiMzYLYE90XVm0iwLGzPJ8MhZ3XouMnjE/c/tjYA0htg5OjvhJ1QUUVj3cQb+J4pNQMo/P3mFpl0gQAn+3wiX87fNoVRic5UP6w1gzbkxYEKuAvlHLrzZXGGAfaIaIb7bPE0xfbMcfwJ52ixqAyQioeeTFtYKQxpLMWYhHwkw1s0MavoHg33cjkVWVVX6AddLCI6/IJi0Us5OEd8TGzifywPidLMcygxoYGnWfpUdawteZ0lJ2qhftx8f6gv/2CM7eC+9ZD6K7OigDlNDV0zRZ+wxMOMcH/z2SdeUTZnzbM8M8aMUITtVFShKWe9FmesU0eIB4mw=; 31:2xKq7BL+7vXBO9auYr3ly2rUM17rEoKBfQBWb9Gi448z8YAuS+iYcYH7auhclQ/hv5PUacGQaAYK5wNQr2f8S22W7dmFvcQyLAtMWjVVC0p+GVvKISOg+h1OIMaulXTeBjvdSNdr40sSls3LUjSp0YDR32IjACuHR6n5/fscbMkNRyg26wH75WdD0lsHuKQ8WTqB5pSNMtdTapXsGecDTVUANwl4B6uuHPDKI1COu2mditoXc0ixjRfjDYnMijoYyes/aXTzgqSB8ybWEmcWuw== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; BY1PR0401MB1205; 20:6waK7ogJ1aup5kb2/37QNrapeXJ4/SKz7+DUZf7px9p7sm/mkhe/nKLlA5NCv1CA6kFYlW+pKlPhPLqLnF09XekH97db7nsMYrch2iQztfOdSCxAZro3x6SjPiTepRhsH249EIHX8XqlbhfuYubuxzI7wrPxIlg31Lp++AUowXplvYL7mE1EguDGVfNpLoEUwh1shWn9yWg/lQKuPGB5AC4+ypgdfM4zScz1zVeDaOSVOX+Wu0QMIu2vLX/TKqFoAETBPbk5um1kBk6GduyoCHGvfY/W6IXXAw7vXPJ3yQb6qN0B+X0PjoZyqoqPeev8Uw7SFRAaNVQuUgXPW3zs6cmZd1R6N74KVbjPyizyouWoOjiVbPBb1n2z3GMpDu/3gf71IEA3680ki2uw7P5QiuXIBeZi8VYxBdxYh9Btqvbsi+CWaQMgy1HeJnWz2JGilDPAqqngE8PV6YHzAiSLx3IGgSkrzoERqaDimbCD3rmUAHbduZwYef/n3l5884N1 X-Microsoft-Antispam-PRVS: <BY1PR0401MB120528AF2CA45D90250FBCE681EE0@BY1PR0401MB1205.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)(5005006)(13018025)(8121501046)(13016025)(93006095)(93004095)(10201501046)(3002001)(6055026)(6041248)(20161123564025)(20161123560025)(20161123555025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(6072148); SRVR:BY1PR0401MB1205; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0401MB1205; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0401MB1205; 4:V4uT8ZWSUnEkHvrsjF916b+Fs2Q3f90eArQtgZuDeNAhUCZWiDpnhzWWQ30FTtslyHy/e10GN39WeE+MeODC1PIEiHljudrALSr7P5fpCYtYuh5O1iBtGL5UVPqvSmB8+rAsGkl8n4b9nH5C3cYFBMY/HfmvvI1pwPWc7ijjn4FgIjmQa9g53xk9lX1r7UGL7SvK7I+soRA+qvtPPT0ONL75xpCzToTyuTRToB6Do/U4OAD4XL0OxLG22QLRbF4xR3t634dXECGLLGT+XBGmiHH9ounLy966xIbn2rZ5uOAg3KuqfqhMwnC+blollSgvc96Do/vk89G9rTInsTdpHcmScQtsy/hG5zuY1aijzKshRhrLHw3BQqp6r4JIrXg2KWAl6MjtdDZNjQivIERcN9lE1mIVAj9DJeiadDDKo9Fj3oLQL5Bse2Q2jXTt7Pkp9dKIqOPQtA22aP2jZvsJvPdW1Rqcy4Y0Kqf9BPrLmnB/1k6VNpCyoPFIMxuE/ohfe2Wi3k2iPjWRnJ+Jc8zlfklXhP/x4L9YTWwWkmlB3GbqIEIF5qtbBOkGls+8/E1Dyw7BoIf1vAti2v8+yAAYv4+9EWPm4KsYJsA/MqYTURfeuZF6+FTjV9Sg1jPXedd01pqvNeUYEyeJlQw1LwSrkGaAGfhSPBq8NsvtcCFiAgqd7ghZ6fem+qWuI0FAWeOnpjx8WEsLfFy/2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jrCiokMex4HZhkt+WXtojvpnsRw3IlFqbKcyvO4ZPuG46vIbwzS7Vgv80yxia+2ti8E0a9mT5/XHt6Ozd2ZPhYU6nK0sGQhAZTKMICyt0tI3aB1hwnuBQxF1ywR3Q1Al2whIDdlLs0nlRZQ==; 24:b3zcf1lHRkBa6Ep6i1vCp00vssl0OL/YY5YKSquoHNuG33joqBHckQsJfdkpKm+q/GRnuVP3mz2bsmDTV4WK7U5cN4nBPGvAiOoIbXv91iM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY1PR0401MB1205; 7:SloGgWRYwTc31M3GLFPMl+w489kbCrspocNuneHSNjJPnX6Xfnipzy7pqoIN4vTJipJHVhqCdFRcfN13MlieZbRdPjoqW23yIqzKddklURRfXXkaeiCaqUhuMrXsoQG1+PBLkMK9YCNLVOwfQhAHlGgmIo2mrueoXw8aLq0Qz0coEd1mMbdHabOk/9fklYaff8sMrqRPe0MJAtWgLIjjS/O9DgcJH04PdOH7b74jz8+vaQ2HrY3F4VyOstCJ3XP+rd8hj2xCFoyh/mP7jaCGAizY0XpLlSL7fXYFedQC2kzKAjzheqA84NebxdJ1acziZfHR1ZYhjVjvIRSeFj7NkQ==; 20:gCgS27MXI8cJlWcqvKqIoVW5rzJgst2gSi9nsXVJeEpaJTn8Ul40c3pwi1jQ/7G+/zS7g6IiLMeiO8byVPIQ9uEUzQhdHfA1YwS3+F4Y/6saLpzgmu/EbuwAs4Qc3jXCULed/JsBgklwKC1fW+NpOHK3D+d7XY34MyXL2wI+Vjo= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 May 2017 23:40:59.7673 (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: BY1PR0401MB1205 X-Greylist: Sender passed SPF test, Sender IP whitelisted by DNSRBL, ACL 203 matched, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Mon, 08 May 2017 23:42:20 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Mon, 08 May 2017 23:42:20 +0000 (UTC) for IP:'68.232.143.124' DOMAIN:'[68.232.143.124]' HELO:'esa2.hgst.iphmx.com' FROM:'Bart.VanAssche@sandisk.com' RCPT:'' X-RedHat-NoPTR: 68.232.143.124 has sent a message and has no valid PTR record X-RedHat-Spam-Score: 0.493 (BAYES_50, DCC_REPUT_00_12, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_LOW, RDNS_NONE) 68.232.143.124 [68.232.143.124] 68.232.143.124 [68.232.143.124] <Bart.VanAssche@sandisk.com> X-Scanned-By: MIMEDefang 2.78 on 10.5.110.28 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: dm-devel@redhat.com Cc: Bart Van Assche <bart.vanassche@sandisk.com>, Damien Le Moal <damien.lemoal@wdc.com>, Christoph Hellwig <hch@lst.de> Subject: [dm-devel] [PATCH v3 02/10] dm-table: Check device area zone alignment 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.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 08 May 2017 23:42:57 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/md/dm-table.c b/drivers/md/dm-table.c index 6a7e200..3949897 100644 --- a/drivers/md/dm-table.c +++ b/drivers/md/dm-table.c @@ -340,6 +340,33 @@ static int device_area_is_invalid(struct dm_target *ti, struct dm_dev *dev, return 1; } + /* + * If the target is mapped to a zoned block device, check + * that the device zones are not partially mapped. + */ + if (bdev_zoned_model(bdev) != BLK_ZONED_NONE) { + unsigned int zone_sectors = bdev_zone_sectors(bdev); + + if (start & (zone_sectors - 1)) { + DMWARN("%s: start=%llu not aligned to h/w " + "zone size %u of %s", + dm_device_name(ti->table->md), + (unsigned long long)start, + zone_sectors, bdevname(bdev, b)); + return 1; + } + + if (start + len < dev_size && + len & (zone_sectors - 1)) { + DMWARN("%s: len=%llu not aligned to h/w " + "zone size %u of %s", + dm_device_name(ti->table->md), + (unsigned long long)start, + zone_sectors, bdevname(bdev, b)); + return 1; + } + } + return 0; }