Message ID | 20170508234052.32375-6-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 B6A246035D for <patchwork-dm-devel@patchwork.kernel.org>; Mon, 8 May 2017 23:43:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A8E022684F for <patchwork-dm-devel@patchwork.kernel.org>; Mon, 8 May 2017 23:43:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9C7492807E; Mon, 8 May 2017 23:43:14 +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 8708F2684F for <patchwork-dm-devel@patchwork.kernel.org>; Mon, 8 May 2017 23:43:13 +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 90C9880F97; Mon, 8 May 2017 23:43:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 90C9880F97 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 90C9880F97 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="hdtAyISh" 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 69143784BC; Mon, 8 May 2017 23:43:12 +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 02E371841B02; Mon, 8 May 2017 23:43:12 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v48NhAfv008552 for <dm-devel@listman.util.phx.redhat.com>; Mon, 8 May 2017 19:43:10 -0400 Received: by smtp.corp.redhat.com (Postfix) id 0A3B5782CD; Mon, 8 May 2017 23:43:10 +0000 (UTC) Delivered-To: dm-devel@redhat.com Received: from mx1.redhat.com (ext-mx01.extmail.prod.ext.phx2.redhat.com [10.5.110.25]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C78D9782D1; Mon, 8 May 2017 23:43:06 +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 A376B80E7E; Mon, 8 May 2017 23:42:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com A376B80E7E 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=Bart.VanAssche@sandisk.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com A376B80E7E X-IronPort-AV: E=Sophos;i="5.38,311,1491235200"; d="scan'208";a="118774766" Received: from mail-dm3nam03lp0016.outbound.protection.outlook.com (HELO NAM03-DM3-obe.outbound.protection.outlook.com) ([207.46.163.16]) 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=LSIdgfVUSIOq7cnxV8nSkLneNXWhR7x+U2Kgcta0wkw=; b=hdtAyIShqYOhxwsyzkJsJfaWqXOTupsNzWzi0jvOfv/6BPgABUNO4Nf+D/7MyGf2pDiozYAaAKRAFmU6M5PZIz5b2Oh23RijdXjMmIbr7AOy8cA8gvGhAZ/T/JiS4iQFvaRwMmNKWU3NpB2xT1uJAZqUBMjMl+2NfXtL0S7UtqY= Received: from MWHPR04CA0043.namprd04.prod.outlook.com (10.172.163.29) by BN3PR0401MB1542.namprd04.prod.outlook.com (10.163.38.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:01 +0000 Received: from SN1NAM04FT009.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4c::207) by MWHPR04CA0043.outlook.office365.com (2603:10b6:300:ee::29) 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:01 +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 SN1NAM04FT009.mail.protection.outlook.com (10.152.88.133) 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:41:00 +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 5A.9D.29323.A0201195; Mon, 8 May 2017 16:40:59 -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-a0-5911020ab719 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id A3.00.18148.70201195; Mon, 8 May 2017 16:40:56 -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:47 -0700 Message-ID: <20170508234052.32375-6-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+NgFrrGLMWRmVeSWpSXmKPExsXCddJ5kS43k2CkwYLPHBbrTx1jttj7bjar xZ5Fk5gsVq4+ymTRtvErowOrx+6bDWwe7/ddZfPYfLo6gDmKyyYlNSezLLVI3y6BK2PNvG6m gnbeipmf7rI1ML7g6mLk4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sYNH2paf/75oz222Vbe2fvzT/NlyRaPpV4tW718NVz9PO1r+LDXe X447xLJwoa1QxJPl0l92JC3sPnUu61mc17fNLgW561SPXlur/PlQv2HZ/5X2d+qkuiWOCMTe lbOLF/kwJb9AiaU4I9FQi7moOBEA23eXS8IBAAA= 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)(39860400002)(39400400002)(39410400002)(39840400002)(39450400003)(39850400002)(2980300002)(438002)(199003)(189002)(9170700003)(86362001)(48376002)(50466002)(305945005)(5003940100001)(1076002)(5660300001)(4326008)(478600001)(54906002)(77096006)(53936002)(356003)(81166006)(8676002)(8936002)(2906002)(50226002)(33646002)(6666003)(2950100002)(189998001)(106466001)(50986999)(36756003)(76176999)(47776003)(38730400002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0401MB1542; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM04FT009; 1:agPkHTOIUCY0Hw9DM1aIWRuvF6bKqWgjJuU2Q5jRwvKcsurq8IbG396sTSre3yzvol/jkzWpSMoc7UrihGhM/D7tEbmctALhprsXqsKcPsNcDm4/k4+7klyfOpojru2g9Rpj7APgXJlHd5unLJmFbsr0eUBPmfUz8c9GUH04KtS3gQ9Lz9zaKNDWir/l3/FTNEiAyN1nagrUepYNSTlE9GarGuuJYf3fv/BwkMn0sw6TEmykrVZR9X1XtrdSMIBh/BUaG/kqNfCDospBJa3hc9EEfIP7owhj5Y+GM8leM8w3vgIaIqHiyWQfYxKmW8qBZ36HDNeM6RUgvhGug2xRvgwe37cFhzACtiiqsJ/4kf6/ZzQXa7YSnttiBvWSx61Y9ie0PZrZ9xuIqHetG1LJ37d/E+Xkt7bi570sJwhPNzRW2/xxxweLptURLXDupFDWK2+9p5mdsr0FrE+IsEiFO7jebrtccAfnumYHL1Xm4fOArG0s2ZvLtuXggDesXQ0Q X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 44fe0e28-c317-40e5-3caa-08d4966baf4f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:BN3PR0401MB1542; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0401MB1542; 3:k985BLrgSrETXSVxMpBfhH596biEE8TZkts4r61Mpu7Y+7ZVkfvurM2XyMpm5adv6TxBG24gWplzKMESzs4eZbbhifnXLUj164LanEpOHbivdAxNTkjcfJIJq+7dBSFn3KM6/pBdxORKgMWqbB2ubWkqOiAzHg8q9CEkMnWyMZlXwdEH3637Gm8tRT6RrNiKe8XkZ3e9yhGB9eP5FdQW/FkczrsDuPvav5EAFGtOMjnxj2pF+i72Q4tBHQjC2PHcM915pkpJfzbFjCFNb3ihbrraa5WqRUCc4qknyeN94XpDynmnOieEbmBtJAXLD8US4HkL9ymV5B6zJ3fe7KEM3WnR9s6gw5qn1NuYoJVlg6Ee63GEwPxSmhqaFhC+3tYv1J+DcfU4jGtwlP//GL5ZyLixeTI16k8+5hSIS75v3Uoz2toyiEXXItMsIjmns2T/iVNJJ7dv8MDOQui5GxVpzNqzYz+x/fsQOVF8s+U0OpbpQqAxv6ND4Qp/PRiOZbt2 X-Microsoft-Exchange-Diagnostics: 1; BN3PR0401MB1542; 25:7SO3xe6Y5htnoxZizCpq5VkqGdsVfXTUa2ACx0WUCGP1WPzdclButkytpmYCbWvIYCzCOBt+acHOg8/CkVmjXNph08POVLbTNLCPZBK3Ccm/VZavaVwlAKAdzkVkJeEjzl8C9EYyUL9SpipWo3g5DQwajamlHFLDDexIBYdHMk9P44FsHnTa1nxuwBxFHML0zMjRF/DfqQIzpE9Ya5tYIG/fNZkC3sDYhnd33/6yuD5wSSzLeAOhi1e46e2YMrpbYztqTHlJgDHSv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zlqdepPyUAahv3BleKdn X-Microsoft-Antispam-PRVS: <BN3PR0401MB154255BAED992A6480354B4881EE0@BN3PR0401MB1542.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)(13018025)(8121501046)(5005006)(13016025)(93006095)(93004095)(3002001)(10201501046)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123555025)(20161123558100)(20161123562025)(20161123564025)(6072148); SRVR:BN3PR0401MB1542; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0401MB1542; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0401MB1542; 4:4XbeQpFtZnQPk5fdbPJhLGKoJlIwnvUhHaI9lp6e/b2jx2OKsH8nafa0EyMTHas9MFkGc8NMUR4vIRs8TOyOxHgdl5UDCYf6nTdg00adSynY1P90DQt0sK0rVDhWEvB6s6G9jCJxgSkDpmIYivxipJ0MT2s5vSbMwMAruix4p84xyqOW1wbmbX2pyjxWkAybQbIvw4tskRdjj6OPVx5kQG5lGYN0ZfCOTZTwQTSV8lo0cTqVVLJepCbyoCnE47cGaG6tA7msKlH7xaatJSJAiqJBH0Aol/z2f4O+qyf+dhMlPrCN7uRgFpLc3igHcCJjEfCnAiZJPYGfp5gdPQLRbfsg8zMb5aCx1NnXCrB9vZFlP8hm/JsFJyfSrNSgiMkX+YndbL5h5sVaBaR/YnxQnLz17apno3ZK0hrPe1zmTqptpmX3wyBWKDeCVCJjt57FSNs1VxONEiqSXYgl1Ki2lPiufip0gE6EtuZ0o3SQCu+SD4RnqD3upkcnaGA62dBZFWWLA5D+zPhft3lhx/vUQPZZhjeCwRwRqAKysrJf15CZ2Jz6TL/zy14cWwsSEMPj6XUsLwwj5318tFJvgZemyR97o5lyXkPwLA7o304eZQ7y8mmVaYv9x8RwmxS4S6ozru+PO9BDvCU3/9+989h507sa2AKK5KLApi3Z5Stg91yEtb8Fx7ZuhDHLXUoVJ6hq2/CFBoCrT099RDxgXV6AY52scEIKqeaXE2F83YYXVq/bHsUxbLJy/rM40EeJ5j3/ilRyIL1SqMKgSc1w/oIxDrQEM3Oh843WLjJHl3zmGS6ZlcyIj8znY0Rz0h6Oju19UEtPmhPJvjBCUuO6toupF7gC1lFoZKYPx+bAcga7FRRoJ/F/H+pLTyds/wSJogWs X-Forefront-PRVS: 0301360BF5 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0401MB1542; 23:uzyKqnYZiSDZ3jzwWKRSptg5LpdPFRArSqQM1Uf?= =?us-ascii?Q?cz8ekiajR4ogHHeWWCHGw/JCTi3Ynhfm7QPdYZIuz+iE676DIB3hfETnQkdG?= =?us-ascii?Q?hYgOSqMQbGwnyPU1lpWPx+1799cUToRNwab/2/BWQ+HZSbIX4znfPziWx7Y2?= =?us-ascii?Q?uozKJTYMjxmOoWu0t6cf+gbvfX30FwPD0Uy6iREuhbqDmmKjenTCRyCqjTtS?= =?us-ascii?Q?H3Fn1YA71eAyyYzv+eKya8nGaa3XiW7CUtj0TkBDhFFpOsvukx/8bMB44Y+M?= =?us-ascii?Q?3RVEUqgEg08L/8mtg8RYBQsHGD8aZHHowdseJSDfB707a+PF4Stk0s7gHQUk?= =?us-ascii?Q?3dDla/9u6pP9Drko+AkgJ/cO38tsVM7KXn26U/NmcnzdGFdoL8ZDO6uz1A0o?= =?us-ascii?Q?OE2b7hd07HwfWTbribm9PVALBzr4NY+pcNJbYKVaoS1vnQjhJCib0x+HMJr8?= =?us-ascii?Q?gX8myXU8yF4XsO7AK8p3N6qpH8FufvqNB7G4UksuZ/YD0THIKjLP0FgnH9a9?= =?us-ascii?Q?LbLWXGeEKW5NoLGZpsbXZBMEx+l9YGRV02nfRe9IUYnqiCjgWefcHsz4fEQV?= =?us-ascii?Q?YOC3ak8xdgiobMDWp/BGZmJA0uCcaZnAtC8WJv2eKgwLX5rMvZyALa3+df5d?= =?us-ascii?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ehQSWsNrxcz7cn7yCA8AlAhXM=; 5:FA+9Gj208mpTbG9AfevTaAi1qqYvoA5sgLsG20ey7mTwd/xwcQU9hOlOjt7v1850Mnle7TZVdkELsxe4O7ZGGyPfbErgOeVuYVkJTLppJFqDttziqfPkb9bUhBkpz+ELYVxcK68yk03lU/lCngvPsg==; 24:QmnPRJZ0b3lrwX7lJ9JBQAQWULjd/KjjezgrY94YaEdzQa1ezKapcEy+7IKkIdVd4GsAR4iqAw/h7yUvUg3Zl0FHSoqYPQCfKVyp+re4Jlg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR0401MB1542; 7:BDCSKWly6DD5lG6nYTvmTreKnq822u1DGebkIgOL9Ms2LRnG8mPtVzrtsg2xfevMPKigkle15h9XHeY68Uj0xQN8J+Dz+atoSO6FZU2gnPjZLCuAX88z6+zPbw2SbtIh/HuJ5d2CPpDmJIhzcS/3ANXQLYDdkjkko33Xt0K58fGdoPRsX/qb7wD48qHLQLgoBUt+CDAbjw/xAjB1rMdvyxqKTNFQNtxAtAWIDcRqZbWHe0zz+SoLAzh1uDtDBmPBD0HTizhjNNmgkdj7Uqbsd3WnmzrvQASOHZAQKdViPA0enwBr11/OJUp6A1kx9TD6urWimYk4ZnhErsMGQeF3Tg==; 20:uwTfEa+PxHY0GBzyNz0FpfojGOsZONWdYJKUruT4E550s1K3LfCpHgFEUhtagp62uOc7FPq/3gGQ8PAMltAD2+jysyI9w9Altjip2dYVNK6o9oZ9kD7YaQzwrMDOrAIHcYg0c9kglvoyaTx+pC8OnE4K3DDGWpXGI4i6NIFi/V4= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 May 2017 23:41:00.8423 (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: BN3PR0401MB1542 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.25]); Mon, 08 May 2017 23:42:33 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Mon, 08 May 2017 23:42:33 +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] <Bart.VanAssche@sandisk.com> X-Scanned-By: MIMEDefang 2.78 on 10.5.110.25 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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 05/10] dm: Fix REQ_OP_ZONE_REPORT bio handling 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.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Mon, 08 May 2017 23:43:13 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 51425c7..023bbc0 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1142,7 +1142,8 @@ static int clone_bio(struct dm_target_io *tio, struct bio *bio, return r; } - bio_advance(clone, to_bytes(sector - clone->bi_iter.bi_sector)); + if (bio_op(bio) != REQ_OP_ZONE_REPORT) + bio_advance(clone, to_bytes(sector - clone->bi_iter.bi_sector)); clone->bi_iter.bi_size = to_bytes(len); if (unlikely(bio_integrity(bio) != NULL)) @@ -1331,7 +1332,11 @@ static int __split_and_process_non_flush(struct clone_info *ci) if (!dm_target_is_valid(ti)) return -EIO; - len = min_t(sector_t, max_io_len(ci->sector, ti), ci->sector_count); + if (bio_op(bio) == REQ_OP_ZONE_REPORT) + len = ci->sector_count; + else + len = min_t(sector_t, max_io_len(ci->sector, ti), + ci->sector_count); r = __clone_and_map_data_bio(ci, ti, ci->sector, &len); if (r < 0)