Message ID | 20170508234052.32375-2-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 CA5BD60236 for <patchwork-dm-devel@patchwork.kernel.org>; Tue, 9 May 2017 02:41:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A42BC1FF8E for <patchwork-dm-devel@patchwork.kernel.org>; Tue, 9 May 2017 02:41:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 96669269DA; Tue, 9 May 2017 02:41:03 +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 E92381FF8E for <patchwork-dm-devel@patchwork.kernel.org>; Tue, 9 May 2017 02:41:02 +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 1077181F03; Tue, 9 May 2017 02:41:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 1077181F03 Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=sandisk.com Authentication-Results: ext-mx03.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 1077181F03 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="ebNmQszj" Received: from colo-mx.corp.redhat.com (unknown [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9249718E28; Tue, 9 May 2017 02:41:00 +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 936344EBD7; Tue, 9 May 2017 02:40:59 +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 v492ejJF029293 for <dm-devel@listman.util.phx.redhat.com>; Mon, 8 May 2017 22:40:46 -0400 Received: by smtp.corp.redhat.com (Postfix) id F0EA6784D4; Tue, 9 May 2017 02:40:45 +0000 (UTC) Delivered-To: dm-devel@redhat.com Received: from mx1.redhat.com (ext-mx03.extmail.prod.ext.phx2.redhat.com [10.5.110.27]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 30CD8A24FB; Tue, 9 May 2017 02:40:42 +0000 (UTC) Received: from esa5.hgst.iphmx.com (unknown [216.71.153.144]) (using TLSv1.2 with cipher RC4-SHA (112/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2FB7E80046; Tue, 9 May 2017 02:40:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 2FB7E80046 Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=sandisk.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=Bart.VanAssche@sandisk.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 2FB7E80046 X-IronPort-AV: E=Sophos;i="5.38,311,1491235200"; d="scan'208";a="16226608" Received: from mail-dm3nam03lp0024.outbound.protection.outlook.com (HELO NAM03-DM3-obe.outbound.protection.outlook.com) ([207.46.163.24]) by ob1.hgst.iphmx.com with ESMTP; 09 May 2017 07:41:04 +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=zjecmpp7yio0JsRSchPFaWHuZG/Ptob4X6wIuf/EFw4=; b=ebNmQszjuGR4pr7LoFFp1o55KcDTKwWBKqA1AUBHEObRwU6MPFCd7IVKmy8aLN2J689rY9SJ4yRBlapvR9RwQM9kBjrEqivuaTUSXkK8aQEJWDXHUcAl6iqSCou97P7HGIdNviwadSbynlwcK3ahS9hPZOjw5pLIz9OG5uEAqsc= Received: from BN3PR04CA0027.namprd04.prod.outlook.com (10.166.70.165) by CO2PR04MB729.namprd04.prod.outlook.com (10.141.229.15) 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 CO1NAM04FT061.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4d::203) by BN3PR04CA0027.outlook.office365.com (2a01:111:e400:7a4f::37) 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 CO1NAM04FT061.mail.protection.outlook.com (10.152.91.130) 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 08.9D.29323.90201195; 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-97-59110209f89d Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 61.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:43 -0700 Message-ID: <20170508234052.32375-2-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+NgFrrBLMWRmVeSWpSXmKPExsXCddJ5kS4Xk2CkQVMns8X6U8eYLfa+m81q sWfRJCaLlauPMlm0bfzK6MDqsftmA5vH+31X2Tw2n64OYI7isklJzcksSy3St0vgymhr/she MEW8Ys7PzSwNjA3CXYycHBICJhITJ+xn6mLk4hASWMoksfbMSUYIZzujRP+1H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hDz9jkJbTu7v6wXDea2dc55UlA/07Bfe5b1Qc7/P242KMfENOWb6Zt5pm66kb/h6eyH b9qWsK80O2eqxFKckWioxVxUnAgAf+5SF8QBAAA= 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)(39400400002)(39410400002)(39850400002)(39840400002)(39450400003)(39860400002)(2980300002)(438002)(189002)(199003)(9170700003)(50466002)(36756003)(2950100002)(5660300001)(77096006)(5003940100001)(2906002)(6666003)(38730400002)(8936002)(50226002)(189998001)(76176999)(50986999)(478600001)(48376002)(53936002)(4326008)(305945005)(81166006)(54906002)(47776003)(356003)(33646002)(86362001)(106466001)(1076002)(8676002); DIR:OUT; SFP:1102; SCL:1; SRVR:CO2PR04MB729; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM04FT061; 1:ZO65Qf6qDTTi9KveK+qglCCf+3xc2ocXRAw06fS1xtAj3Md93SPvkVGJIBU2lfYTkwIEHOskOIXBOwNZeNTyYa5SAvr2If4Dvtr7ikNGOxO6SSWwgIJLURsoITrI718fmdYCMk7jwgBKfm3AFjN0IqqHJxh+pfJrJ/BFjvlx3nLlUed8mq0YMUTy53I8OFhwp5tLBfNI9CznQs1ERXvL9nmHKqAe3J9OGlgVP2bRhVKZQNe4FxMudPshera7E1rL4HWIr7OENO1jOhON+MTjwD1oug8A9lfBvuMZzcYBOMqzUVx4EErR4/y84rF+p9kAbBnVwL652C0tOkGsMvBLGfrhw6u8Va/fd+LUUXqrreysVNU41BdOUv+fUOrH/0avs7QjumU0qr9yskxObI4zINWbEAhsFv+CofGI7fykksFHW8shiyzRYeP2Loo98APShq6rt9YScu1j0vkmNq231q+Teqt6q+TJmPrry9aoaCfiVD7onYrY+yMENEMAbLYH X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1cb0d3d7-f3aa-4d57-1c76-08d4966bae6c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:CO2PR04MB729; X-Microsoft-Exchange-Diagnostics: 1; CO2PR04MB729; 3:y0eqkCtROERetGtPymF0tKzzKJrWpNVek0HSWTEW3BimRhQJlU4vHYAWsNejBoyiaXYBMvQT67TaCZ5ANBLtvBMxl4NBWKdSLfrBR/P/FYLgZNWMVyzxk+rxfQyOkDGlpwyHa0p7HabbHUtJX+pNoYbIJYP/aS5I8Ldf3gSV0ezKnksXexXueDD8CtGo3BZtmXh9j8Iroo0OVLOYtZXRxMZOkESuuccAikNebZPUlWN+QXVxqNL2k/oaNzI2Zh7nP9Vr/PWuCoTjRIzuV86TBlC+5X5ADYd9Z+uvyjxquBHWqQQZPjcs6AzmNKoxF9Lm7XfMO2knTnPzjs8MqAnKxaWmFsl0biAP2RaRP/v2RFD0bWGqCCTeds1rjqP8qNkcqIEOgpQwz1Wkpkk9JzL8Id5ZTXXyFjnmZKloezlp4XRhNw6sMUKYmHUjP6UIWCJ0Av1zGXn99N75Om7WRp65wBgL50vQZnhl3IMpzhhTeUdheDPiSLK+X/J3donJkqmR X-Microsoft-Exchange-Diagnostics: 1; CO2PR04MB729; 25:tlVl4uWXh9TbjB/nG/stjVlrJw8KLRY4/5ldA1PlU2JTKAO5ijwyhfZzREXN+PewFYRRJLgWiC7SMMIqzo7HSp49Nw0mmmPNC6uqJCDuHBLNI4fqfyHXUtx6LXv3Rl+cYPxrI2GB/5huqkFCN/ythjIPxUPM13327+DD2Sa/TGHL2b1remkEJtOBedEna3eYCTUtzi49JlDdMCBZPv8L6oJl7ml34LCLLyiNOlET/CG+wboQs6LBKnoFlm5eOaqj8egO+ReerHeqrJnF5HVK550mJvBEtUVh6iZ0ZZHgjv6sIwv37I2nYzvP31/7n0mFLEYaTvuOKoK3oJEU8Zw5HpVlgl4WsybD1ONbzEQqz4q9mPeasyVaES/fjFSft+EujqzgQVSpzYGZewRJjO9k3yzIttN7xhg15EIxRdjlID/A/CoDjJPoVRLc62Zdv17VI/MQ7USsObMFoIjhx0cE/cq8IHaI+obAYh4Jj5OEccg=; 31:3iC5h7RPcRcFBrfCdKtCX6Fk/HvRiarG9UIuJtD4VbL2eQmwApsfbLbUGJ1JTvUDcHe583a2m1Y634XzorZedLG/RSILXfB7Fnr4p0yQ7swfXehjSuTPpwcS5WAZUtgr819NpB3mNXgM1K70cdaaixSvIGei4E8ESSlwHYC6JQfpkSZC1yPPNnQR7wBu/WLm+ylcoA2L/FNTgV4uMprHYH0XVqTY3L4ZkRe5JgfWix6E4PfAOR9w58+aGFjPmq+yPUPFaqOTNdwDjTBbdSuA/Q== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; CO2PR04MB729; 20:G3KxJXqLuWjhtay0uzY4RNFv7L1SkQPNN2B7O5uqt4meCLaylUp/DT0ZnOd6Z+RlUJH/XbJcNa9U1Dw8oDxOmOW9M6yQd40DRj6P/nG/Iwf4EchRdPdeVuD+vJbkOPbZgqLz6ykVeM1QZRqS0XTloLezosxz1EACEZgj2BZeiz+G0fuTvMZDcyiinh3nKLc/wNdSLr53MilCAMn00mKQXqEb3C/uj6AeVxh1yNLexKMpZe21jsokxj2SHVgynlaCSj6c8HYkiLiFrsnRW1EyhNr3sR8uu+YGyIAEc+1sNrqEG8NhFDKgPBm7Ai1sftg27TgcjikbVc2OQ32TbFrLMWqSvCr3izzQZM/w+otDbpBba3cE56zF7JqO6qosiGPCEKYX+096F73fWNo6UJM7X1wneoBB8A77RVRl/61yFK/Qs/gswxx+hP35oVPb7zWhzXMZ1Aka29eQ3YpEGZUDFEATOIInolazKuT7EcwXMTmF2QaFi0B9kwWCIqPnES68 X-Microsoft-Antispam-PRVS: <CO2PR04MB72909435EA7312D22DA47EE81EE0@CO2PR04MB729.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)(13016025)(13018025)(8121501046)(93006095)(93004095)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123558100)(20161123564025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(6072148); SRVR:CO2PR04MB729; BCL:0; PCL:0; RULEID:; SRVR:CO2PR04MB729; X-Microsoft-Exchange-Diagnostics: 1; CO2PR04MB729; 4:3CfQmvhKUwQh2hLsTcHVwCkRr3weW4ydaS1TeOOadasniaVHl9NLC85nHbfgvxCSyW+KBLHJb1H81scdYqIEMEY0WbtOEFVAaUhyzknjybeJidzPxn/boh6Xiu0FLI1xWhPFaQioZQN1NR952YE23i1RnCsj5CWaaDJxWbZ5a7bvknmk4vG/MUie0I3grtZgqDAwY+HvR4OIe8biJXw/nlNhcrjg6JfDUtbyw7rGVVC9nRqX1dv2BdvufTWWeu6MCcOK6kTwuJTGolmn8jzTp2ZClOKFtV90xq5TOk2A8215nhNrrSJIKYFBCbUmvXkI3bpqRme/o5uzB3DB/AzsubEZv1rNwDjBB+qa3SzbP0mcpCwcExRsx8yRPf2WGXq2VJ+uDHYslFiOqVHebM/bN6xqI1oindo+YyYlxt7pbCUSi1vi5n+Kavf/2L2zJVCce8L1NJLhg2mtoQXMWE/rb/9oZsL7Hlc77/8T0ZWDwiIKpiBukROhZLcff07cIqKDnrbV6/yPL0kg5ASoTbRsIvUXXsBWNqqehpmUB9BdDrsUMzcNTmqfF9YTgX/FcO93xzvrBhd2irxbrNW2ofxDX5QXUQ4CxtEotLW5UUs6QpRD94RzSX9RnTp9awGOF0F/fEIyc9+kJVfdjhNtLG0UVe37vhVNKRz/UAdSMi+IsvFFoeuSUZf/LwwT48yRY8y1EdO+wqWgcZ/CmeJY5GbbheYPmdQDvMkGS6wJ/13DYHy/jJaMDH8XiSJB/NwZdfI6YAE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RiE3dg+u6cGOQeO8FOZeCfsR4UENVziR+VEgZrVs4k8sjfym/pM10hJsaDaachQCPOV5dJLbcikocyqunyfSAK00TpmT2GQ==; 24:3OXyyaMqbuc9nXwKYCqVMZ8gYHTJEWXloYIwVBWuALxXkqfKuXFPMaZFjz5PW9kx5ixGLKWHKHNJKFFuJYsqM/Wm/U8Gp6tx1pAgcEfVA5Q= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CO2PR04MB729; 7:QetHbXRgZ+KNFw9vZX/f6t2MNx92YOHMlOqBQstXjETisQe4rPdKtZQjiuRYkfLOjwfA8ntXfUFUimvpOouvOHJiIchX5i1cy9Z8sv5dAgvfKPq2LCR4nTzlkYZ2hBTysFDCJTzcAKkXUJdNpOrJ6E+nrSZFh1VjOZdVXqn50IqBCI5ebyWyjsrOzD54Xs2F7J/ZpRPeOtQZVqACcgQ0lMQN+0dsoDDylbSijZQUMSokDW5JzxGm8mZp3fRFltWsGnO3BzDieMDQOkJN9ocHmEMQ9Bg9rGiSrm4a5Va/fau1PhLVg8bEbm15iz01w3Ghy4cIRJSkP7yCkB8UEUos7w==; 20:TUDmlsyx+Akt3ntaB6UVmfu7/NbZACGpe9ry5EIYRgumYmO2IVhtYUNB529CvJl8hRNPHYSh38EkWQFxGd1dTfSfc9ZIRMFaaSaKgxz5YKbWs5fwVUpWXbR0yJN/GNAzVqSzuWclqiY22p8gJbP0Cjf5RrnMtsJVk9o8tHSBxz0= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 May 2017 23:40:59.4789 (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: CO2PR04MB729 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Tue, 09 May 2017 02:40:18 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Tue, 09 May 2017 02:40:18 +0000 (UTC) for IP:'216.71.153.144' DOMAIN:'[216.71.153.144]' HELO:'esa5.hgst.iphmx.com' FROM:'Bart.VanAssche@sandisk.com' RCPT:'' X-RedHat-NoPTR: 216.71.153.144 has sent a message and has no valid PTR record X-RedHat-Spam-Score: 1.192 * (BAYES_50, DCC_REPUT_00_12, DKIM_SIGNED, DKIM_VALID, RDNS_NONE, SPF_PASS) 216.71.153.144 [216.71.153.144] 216.71.153.144 [216.71.153.144] <Bart.VanAssche@sandisk.com> X-Scanned-By: MIMEDefang 2.78 on 10.5.110.27 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>, Damien Le Moal <damien.lemoal@wdc.com>, Christoph Hellwig <hch@lst.de> Subject: [dm-devel] [PATCH v3 01/10] dm-table: Introduce DM_TARGET_ZONED_HM feature 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.27]); Tue, 09 May 2017 02:41:02 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/md/dm-table.c b/drivers/md/dm-table.c index 5f5eae4..6a7e200 100644 --- a/drivers/md/dm-table.c +++ b/drivers/md/dm-table.c @@ -389,6 +389,24 @@ dev_t dm_get_dev_t(const char *path) EXPORT_SYMBOL_GPL(dm_get_dev_t); /* + * Check if the target supports supports host-managed zoned block devices. + */ +static bool device_supported(struct dm_target *ti, struct dm_dev *dev) +{ + struct block_device *bdev = dev->bdev; + char b[BDEVNAME_SIZE]; + + if (bdev_zoned_model(bdev) == BLK_ZONED_HM && + !dm_target_zoned_hm(ti->type)) { + DMWARN("%s: Unsupported host-managed zoned block device %s", + dm_device_name(ti->table->md), bdevname(bdev, b)); + return false; + } + + return true; +} + +/* * Add a device to the list, or just increment the usage count if * it's already present. */ @@ -427,6 +445,11 @@ int dm_get_device(struct dm_target *ti, const char *path, fmode_t mode, } atomic_inc(&dd->count); + if (!device_supported(ti, dd->dm_dev)) { + dm_put_device(ti, dd->dm_dev); + return -ENOTSUPP; + } + *result = dd->dm_dev; return 0; } diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h index f4c639c..afd25af 100644 --- a/include/linux/device-mapper.h +++ b/include/linux/device-mapper.h @@ -218,6 +218,12 @@ struct target_type { #define dm_target_is_wildcard(type) ((type)->features & DM_TARGET_WILDCARD) /* + * Indicates that a target supports host-managed zoned block devices. + */ +#define DM_TARGET_ZONED_HM 0x00000010 +#define dm_target_zoned_hm(type) ((type)->features & DM_TARGET_ZONED_HM) + +/* * Some targets need to be sent the same WRITE bio severals times so * that they can send copies of it to different devices. This function * examines any supplied bio and returns the number of copies of it the