From patchwork Mon May 8 23:40:46 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: 9716857 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 54C5E6035D for ; Mon, 8 May 2017 23:42:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4673F23B24 for ; Mon, 8 May 2017 23:42:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3983C26E54; Mon, 8 May 2017 23:42:16 +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 0F9E923B24 for ; Mon, 8 May 2017 23:42:14 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3826F8124A; Mon, 8 May 2017 23:42:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 3826F8124A Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=sandisk.com Authentication-Results: ext-mx01.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 3826F8124A 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="L1cxupSx" Received: from colo-mx.corp.redhat.com (unknown [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B5016784C0; Mon, 8 May 2017 23:42:11 +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 277794E9BB; Mon, 8 May 2017 23:42:09 +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 v48Ng8bc008455 for ; Mon, 8 May 2017 19:42:08 -0400 Received: by smtp.corp.redhat.com (Postfix) id 298EA9F9BF; Mon, 8 May 2017 23:42:08 +0000 (UTC) Delivered-To: dm-devel@redhat.com Received: from mx1.redhat.com (ext-mx07.extmail.prod.ext.phx2.redhat.com [10.5.110.31]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6F18F13CAB5; Mon, 8 May 2017 23:42:04 +0000 (UTC) Received: from esa1.hgst.iphmx.com (unknown [68.232.141.245]) (using TLSv1.2 with cipher RC4-SHA (112/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2B772C049D57; Mon, 8 May 2017 23:41:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 2B772C049D57 Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=sandisk.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=Bart.VanAssche@sandisk.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 2B772C049D57 X-IronPort-AV: E=Sophos;i="5.38,311,1491235200"; d="scan'208";a="118774757" Received: from mail-by2nam03lp0048.outbound.protection.outlook.com (HELO NAM03-BY2-obe.outbound.protection.outlook.com) ([216.32.180.48]) by ob1.hgst.iphmx.com with ESMTP; 09 May 2017 07:41:00 +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=XWv2djo+BJ3VeMTSnQFC4Hz4T6crirS4nxOSxtewPvc=; b=L1cxupSx0Wt09o2F1lDHo+JOxvzH9rVtrseWYJoTb1FA45MQWeFlIX6BnemPxm/fL7VwwZ6gUsEsD9gb+0yZTDjkDpyAOl6pm0nR4k8WxZa2LCi56wbqvgF/yUnPxhboWaFmsYiSyvaGY5lSO5wLCE+aOvHfSqgChOZFO+iokfQ= Received: from MWHPR04CA0039.namprd04.prod.outlook.com (10.172.163.25) by BY1PR0401MB1206.namprd04.prod.outlook.com (10.160.195.152) 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:40:59 +0000 Received: from SN1NAM04FT028.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4c::208) by MWHPR04CA0039.outlook.office365.com (2603:10b6:300:ee::25) 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:40:59 +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:58 +0000 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 37.9D.29323.90201195; Mon, 8 May 2017 16:40:57 -0700 (PDT) Received: from milsmgip12.sandisk.com (10.177.8.100) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.319.2; Mon, 8 May 2017 16:40:55 -0700 X-AuditID: 0ac94369-548749800000728b-92-591102098844 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 13.00.18148.70201195; Mon, 8 May 2017 16:40:55 -0700 (PDT) From: Bart Van Assche To: , Mike Snitzer , Alasdair Kergon Date: Mon, 8 May 2017 16:40:46 -0700 Message-ID: <20170508234052.32375-5-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+NgFrrBLMWRmVeSWpSXmKPExsXCddJ5kS4nk2CkwZt1EhbrTx1jttj7bjar xZ5Fk5gsVq4+ymTRtvErowOrx+6bDWwe7/ddZfPYfLo6gDmKyyYlNSezLLVI3y6BK2P2xtMs BZc4K14fOcXYwPiDvYuRk0NCwETi8p8vbF2MXBxCAkuZJFZPWcIE4WxnlFh56T4zXNXMA1CJ zYwSGycsB0uwCRhJfHs/kwXEFhFIkGi7OpcVpIhZ4BijxISJW8CKhAUcJKbsvghWxCKgIvHn wC5W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HA5vEAQAA 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)(39450400003)(39860400002)(39840400002)(39410400002)(39850400002)(39400400002)(2980300002)(438002)(189002)(199003)(9170700003)(36756003)(2950100002)(8936002)(50226002)(53936002)(356003)(5660300001)(6666003)(86362001)(50466002)(48376002)(305945005)(2906002)(189998001)(47776003)(5003940100001)(33646002)(77096006)(8676002)(81166006)(50986999)(4326008)(478600001)(76176999)(54906002)(38730400002)(106466001)(1076002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0401MB1206; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM04FT028; 1:4g3f3j7YuVut+pONNTHnSC4xL+wPbVu3DKLYIrVlqgWrKFhDmRdmSpQJUbR76JKixkDS6M1qL8NYUVLDZCQuv8C2T1nZzNqrPibowA9z3hfoyFxd0gNvP8cv742JO2v0EHn2wEOR3K0p/4QHKbKa5LXdyOzaB6871xLzgbLU4W6Mn+2uE5gzvDgCDtm/5ZbrBO+9f+NZ9g9CHIiRzTlKPfDaeGfK7zjoGFUdAzWXNUZBNo6nYmhRWnvxcJCQvWgu739pC0WSjg+gmWFAuJ1uTryGvYiTxCu8JI9NHxY6bSnYL3BQWQoT3O7VseSuvwqzu3oC2DxzPJ2Y+EQsl59gsrdZM/vrH3YaTEGHhEer6knzDGRQTC8EFntvHxmk/yxOgr/wv2Nvcb44yTTLeEv8ZuKtSHGue4Vs1YaBkqUflso9NWQTFEv8EN9Xab0Ywf1Q6z+CyoRE7mOi0K2GpR2s1DjXmA15uhGt5DGRhu7V0QMAqYljpSuDMaGyLcPbPzAa X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 45ee3446-9f27-46e3-8914-08d4966bade0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:BY1PR0401MB1206; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0401MB1206; 3:oKzC82rcVZPsbePGaVRy9z9Hr7yiiS6Ama/1WHYF2S4m9hdvx25IfVuztj8l82+mKueLjpw9tf2IJT0d2nKgrS4tDVlTYTYrBF15tGEnsQjgXnCf7x9I7AhGht5OPS2mEQ063uenL+5TNpvf9VwhX1iwnYK+rkVc//sw/Y4J9gFQIuSk1ZES1EkFbl2SkR2TBMMMBNTNzXUt3qH6a7/Q+DDkRnyIUqk1MW2EQmebhiXtYxpkU/90KloBiPpfoMokX2ix3zekqYVfJ3yCUMWtQvc5Wtlg6W8f9KgyF3fbKR5dNeQolli7cQ8VmbUjETID0RAIHPS0/2HHcpKbYvBJRfy+n4NWCqh8f/q8lq9xtETD83/nBhrTs+oXm1Z933Qh0v45f8DBoJZp/EMmbdINjdnDd8+xBKmg3VSqiITqkOrcyzwmGEK3982xKaGoszSpFdzS6QmJ+Hjhpxyvqfv2khDctyKwmO9p6ln1DzDiWtG98P0tuurtSDqUgzen4ar0 X-Microsoft-Exchange-Diagnostics: 1; BY1PR0401MB1206; 25:stg/NhkORcHYmCO5U4syU7CVFr/MDflw/9LNNdnCAj2zsigyuCZjJPI8n5nAjQ1eUdjDBFZ1J+x+TdYvB/70DNjcpYl1BsTPEmjuLpqBX7cQFcho3kgm/HcEvYZmXB13wL/b5KyBbIVdHuxky1KGbAk8BPkJaZaXNT8o07pdffJb+Eau25Sf3yYMnIYvh+Xr7DmTdfEe/iqVPIsm/aWnGBrnjsz8occixK0TpfoOCBtVnf1bEAEeWaxAns2A0c/5nmHpFhPlmRtPdSE4fLQS78+NaDM1YegLD52ZrekJXioAeKlqU3byyXznaGSU9JGj7nmJhycrlm2s5dgMjmO94v5/x8rB8TtTba+d3SGBqIbqhDS8i82KSBfYcPh5eSpprWHzKncv9hmiCvLO4glQXqEbKPVKRg45ESsmuOx5S0wEoj1yFM4rEN0c7KcFQTCZar0Kk0abzhGyqfr3us76pb7eTwo6CRuzKfsvPonabRc=; 31:O5hyHBbews243x3IjV4nqfroS3efMcBqJIbIU9YJLFCM9/kvd6O87wviT1hYrwqxmMQ03o7aEtVt3ESqn8waf1yGFNpCUiYUrPsK49ehE8hYc35qjmWQhz95rINWGD4IlmQntGCuQI/6y3hkMo7iTv8YuD/ZSz4dSoou7oTPs1pGkvIVnEkNGIUh0u+xFx8bWmQflqSUwpLxinJJs+AE/pBmhncbQ5p00BOD4AgrTdh+rg3gt1e047BKeXsMA/kJjW6hSK6MBCZAZXiUA80fbw== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; BY1PR0401MB1206; 20:oJmQiQofK/17Mn6U4JjoFDvwyoTEL08DYFp4mvGpqmp/RFgbrt3nBNMMyGx6Y6wcOPaB8BdtpvwPKarCf7rSmsEpJlJLxx2fLRl0V9mOkyQSC+0wRj4Iwtq+sj6VPWakrVbOQvilToOpH1xxFmOnYbJBD5f50JBa1nZMcJMlScSkSfnd5t6FbjIsOG8QZrdzSG7DMZIpfJ8XN1e9R3lEfWmcztvYmZCq/HQRrbehOrlgnNLniaOwKhH/8qdop08d0k7xovWqZZ+tPPZAJvb/jXkY/roa/jwcejq7n4aoK0cV8Q1HsNXc1sSYZktP+hh18zGnxjO1sGK5n+eCbQVf/Vie1LImTcWmZQGZRc5kNxNiA0MyHnno3L33tZTyWgSUfkWbW3jHKGweqxfZS85qa7WSr01hjG+T778K2Wa4Th6th9q8jXuTpUY4ea9f6nMKNezNk8UHqB3WbQs9uVq9jBNcX8qlJhl3zOj0TpzogPpdKXpsjqhGTBCqIOrcINuZ 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)(5005006)(13016025)(8121501046)(13018025)(3002001)(10201501046)(93006095)(93004095)(6055026)(6041248)(20161123555025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123560025)(20161123558100)(6072148); SRVR:BY1PR0401MB1206; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0401MB1206; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0401MB1206; 4:GSsIi8YRuGrv7fgeLsQ2w9g+Kl6515gjmsXvhUWFUlBcjQFENWc/dqohkz9jZNvQZCeW1zi9f/ZpEg/oBcRB3/uVZntgavUG+fcnyk/yx9s+VnBJJqncqTU8FEdI+VgXKAwXFBWjSRzpHIetY3OaGWZDzHPX1G8YK4aE16+pu6Ng7cZIGidaIL1X9Xe6yrAFXcI9El+nHH2FigORHZRZskvnL4BtPN/OBhzpFQ6t3fPvIqwfeMGmqpF1iJXqmOZbNhu61rwFVoH1SKdp2w1Sky13lsMT4YIfPXf77zz3mp7y5eZuRtsOblLvsS/kcNsWjjYrkTRSXwhFHGPR8fDZjz6RI1rWZwnm5e7qFDxF0k9yejrSj3jx1u+yUPxxjY75dn6sJ6GPxrZ9kY4jUGrvCmgoh0J7V5QYLrBNPk86+fE1MMO5YD7M677ivWwpJBsCMDWlHPvicxMamwBzMrZAQ4+/hS/z96RWQD+ndt9PEO5uROrMWEQ7gYmMbfJJUzqTEc1GghoLTvx1a6V85yQLG1KjDq+613lMfGH69nftH6F27uFBYWNfJPgoTnCI0e2tZeVHGstutqsUDM8UEOid8LZ2eL5APzbSZZN0SlDtH6DdHXb6oq/k/TIz21kzF/u4o0nxnnkTRBNGS9g7VMRm2om60FqhKLLmLxRZx2Bni8+J0vGKEqUEzzNL27bmyO2nEqoxyAZhcC6bxYBDJa+McRAknf2MstuP7ukHQXQHLC6l67sTDNlZUAqtOkIlRcIO39WKLjt+Vj/SgqU5MuQlHc4DwsBde+8/EEqXFKXecM0vfbl1baGewN/cjHnayDUmiyigYyaOltwnP4fKj+Ji0j+DLowlG/mNf0F3gAhosHFKCztE7qPumCn7/Fh+LGSO X-Forefront-PRVS: 0301360BF5 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0401MB1206; 23:WGTrGVi4il/fcASoaiojXtN1ekPzN89JAwFZLmS?= =?us-ascii?Q?6szYhpW0YAFWp0GtMvV+wzONYqKWnAQv15U44zpdh8TRKN0btZ9eHMBBZfag?= =?us-ascii?Q?bH8eWw3HGA2DUjeFJyFnTK60cJa0orjSTj0FttckCASW7Q6rju/EZZ/WBb6y?= =?us-ascii?Q?iDJ6bjDM3tiIVFvvdlIbgdNnXiD1gQjUKAMa08WVrkuKZHKV4tgAgKXoFwMl?= =?us-ascii?Q?Sur3+7/QWQ+5OJKzpzNQZktK6/RetDAFjhkRE/Fdnyf0kde7BBFveDsWCPnH?= =?us-ascii?Q?q8AljYzaLfjOSgHOHMvocveIvlLkchA3CN16m3yDdAv3QtekJGU+AtAEo/bW?= =?us-ascii?Q?ujLkAzmVrU1/BtYFpWz5WG7BKBp9oAUvmBDA444lYxtL6OjM72p+Lq221QDn?= =?us-ascii?Q?6EgaQFrinLwybV074EYBJB7WVQz52KslD6dHgZE1I5xPZjAWRdJo8SmzWVH+?= =?us-ascii?Q?Gg0NjycAn8tY8ijihixM7T/sf5p6vqEaEvy5931y9o+CMKHsGItNwLhMvIzb?= =?us-ascii?Q?qBFY6rRc1RRqQ9ZYX/5I0BQOw4BoSen6mtNnLnv0nmB3scwJxU4b1jT7ZBuQ?= =?us-ascii?Q?I+GgrL0bZHRq2mOdbNQt5X6avorAHxMq4kAX54xzv1Ynk58NWHwTWY4HdXVU?= =?us-ascii?Q?RRGXSiaZrcHaqzkjTdPLnQvt6v3fkvFijx9z9ZjKaT2Ofo2TyoI4zRNi/92X?= =?us-ascii?Q?LEUGEzpA+cgtyO5BaVFJEyYWygRGaUaCntGYbV5a+VFLrOvc8HVguiMUdAEd?= =?us-ascii?Q?Mlw24iqAWNT5lzOM4n3mQyHEY7BdlXb+j3rxuUCZdg0aULrGHsNLN2jMaz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o4OfNfUVtilY7l0+u8XUKHmx8Ik6Rpv3qQGRTfgUfDZSRhihcbz7GJCZuW0g2UCr0i3GaIF/aseDWZGCQuUU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY1PR0401MB1206; 7:nCXjow/wM77vPESNBYTU4TP1QdNLdSGw8FtGA9y94Zoxm8WuqblKJ3X3pfv6uDl/W8UEozG9SQwtmvVReuw8DwUIaYuZXPrN0MyWWFDYT2VYhEWP6HObp4SjoPsdUpSkjMaSA2AO+ZARImNmtVJEJqwoSWnd1M+BYWqaV9pVNnNAJzsfwNObrM2BvhZAuM1nqeBkSKtPm5hAOMYbxuzeacEOYmWO3UZMYCIbjAepBJg89Qh1x5n9qvmbsrLsvN+Ah3b5BVL1OO03MFYmDIV9VyAjSxg518TRFPlYPKiTvioLolQwJaCvzfaqTlKwZe/PGbRMtQa6kQ+YChh+Y0nCYA==; 20:3HSdlLLNjcPuEdl3/yCrEnC/z1/2w94cpJcMOltmWqWU4F3C5zhVgvkONXbzp0vRHzMCnHNT8yYeFuLGttyNcNk1psMhT2avCleJGf2LRCRr830ywvxOaCfVjXYE92ZPX9C2YdeIrMdpRW4kBtaxUlT2L6fSMVh40YD4OxL7N1Q= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 May 2017 23:40:58.4235 (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: BY1PR0401MB1206 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.31]); Mon, 08 May 2017 23:41:31 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Mon, 08 May 2017 23:41:31 +0000 (UTC) for IP:'68.232.141.245' DOMAIN:'[68.232.141.245]' HELO:'esa1.hgst.iphmx.com' FROM:'Bart.VanAssche@sandisk.com' RCPT:'' X-RedHat-NoPTR: 68.232.141.245 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.141.245 [68.232.141.245] 68.232.141.245 [68.232.141.245] X-Scanned-By: MIMEDefang 2.78 on 10.5.110.31 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: dm-devel@redhat.com Cc: Bart Van Assche , Damien Le Moal , Christoph Hellwig Subject: [dm-devel] [PATCH v3 04/10] dm: Fix REQ_OP_ZONE_RESET bio handling 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.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Mon, 08 May 2017 23:42:13 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP From: Damien Le Moal The REQ_OP_ZONE_RESET bio has no payload and zero sectors. Its position is the only information used to indicate the zone to reset on the device. Due to its zero length, this bio is not cloned and sent to the target through the non-flush case in __split_and_process_bio(). Add an additional case in that function to call __split_and_process_non_flush() without checking the clone info size. Signed-off-by: Damien Le Moal Reviewed-by: Hannes Reinecke Reviewed-by: Bart Van Assche --- drivers/md/dm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 6ef9500..51425c7 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1374,6 +1374,10 @@ static void __split_and_process_bio(struct mapped_device *md, ci.sector_count = 0; error = __send_empty_flush(&ci); /* dec_pending submits any data associated with flush */ + } else if (bio_op(bio) == REQ_OP_ZONE_RESET) { + ci.bio = bio; + ci.sector_count = 0; + error = __split_and_process_non_flush(&ci); } else { ci.bio = bio; ci.sector_count = bio_sectors(bio);