From patchwork Thu Apr 27 17:11:26 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: 9703269 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 ECDDA602CC for ; Thu, 27 Apr 2017 17:13:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E248D26E16 for ; Thu, 27 Apr 2017 17:13:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D583128635; Thu, 27 Apr 2017 17:13:34 +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 61B0526E16 for ; Thu, 27 Apr 2017 17:13:34 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2C17620CC99; Thu, 27 Apr 2017 17:13:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 2C17620CC99 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 2C17620CC99 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="omiIBEsM" 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 0F188890BF; Thu, 27 Apr 2017 17:13:33 +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 CD83318523D3; Thu, 27 Apr 2017 17:13:32 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v3RHDVPX030027 for ; Thu, 27 Apr 2017 13:13:31 -0400 Received: by smtp.corp.redhat.com (Postfix) id 4E5BC890BA; Thu, 27 Apr 2017 17:13:31 +0000 (UTC) Delivered-To: dm-devel@redhat.com Received: from mx1.redhat.com (ext-mx10.extmail.prod.ext.phx2.redhat.com [10.5.110.39]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B4FE2890B5; Thu, 27 Apr 2017 17:13:25 +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 8515E6330E; Thu, 27 Apr 2017 17:12:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 8515E6330E 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=Bart.VanAssche@sandisk.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 8515E6330E X-IronPort-AV: E=Sophos;i="5.37,384,1488816000"; d="scan'208";a="110161839" Received: from mail-sn1nam02lp0016.outbound.protection.outlook.com (HELO NAM02-SN1-obe.outbound.protection.outlook.com) ([216.32.180.16]) by ob1.hgst.iphmx.com with ESMTP; 28 Apr 2017 01:28:56 +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=499obEgywUPhd/GCRK0yX74qLNiURUbJU5kgWnNVqII=; b=omiIBEsMvbB2Am1FLzsC7yMBIAmdTs5ED+c8WBtMn39vtC4WszFP0G/ak4yrR32Dvp4WrvjPb1quUdUIcEt4toArDzRo5+CEHbZJXg2OVPXVWHobQm0U5Z+2it4wSD4f3fkKdwYC+kjX7rl9gzdU4bGheLXPq3IM0755UsAxWDs= Received: from CO2PR04CA0070.namprd04.prod.outlook.com (10.166.88.38) by CY1PR0401MB1161.namprd04.prod.outlook.com (10.160.164.139) 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:42 +0000 Received: from BN3NAM04FT032.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4e::207) by CO2PR04CA0070.outlook.office365.com (2603:10b6:102:1::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.13 via Frontend Transport; Thu, 27 Apr 2017 17:11:42 +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 BN3NAM04FT032.mail.protection.outlook.com (10.152.92.157) 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:40 +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 67.AA.29323.64622095; Thu, 27 Apr 2017 10:11:34 -0700 (PDT) Received: from milsmgip11.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; Thu, 27 Apr 2017 10:11:29 -0700 X-AuditID: 0ac94369-548749800000728b-18-59022646f712 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 21.F6.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:26 -0700 Message-ID: <20170427171126.26814-14-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+NgFtrLLMWRmVeSWpSXmKPExsXCddJ5ka6bGlOkwaPJehZ7381mtWjb+JXR gcnj/b6rbAGMUVw2Kak5mWWpRfp2CVwZfRPeMRcskaxYvuk8WwPjRpEuRk4OCQETib51G1i6 GLk4hASWMkk0XdjLDJIQEtjBKHGrIR+m6PaPzawQRZsZJRp7t7OAJNgEjCS+vZ8JZHNwiAio Stya5gISZhZwlzj98h0biC0sEC/x/8sLJhCbBahk8pRzYHFeAQeJe0vvs0PMl5c4u2Un2F5O oPj283MZIW6wl/i34C8jyF4JgccsEq1XX7JDNAtKnJz5hAVimYTEwRcvoI5Wlzi5ZD7TBEah WUjKZiEpW8DItIpRLDczpzg3PbXA0FSvODEvJbM4Wy85P3cTIyRQM3cw3n3ifYhRgINRiYc3 4hNjpBBrYllxZe4hRgkOZiUR3pPKTJFCvCmJlVWpRfnxRaU5qcWHGKU5WJTEec/JTI0QEkhP LEnNTk0tSC2CyTJxcEo1MDL3+0metj+rsWaK94vnL9wfrZrIXjsz7lW9TkzGvstWzgrfZ89+ +L3wftwRO3XFzytfNW14Fr0qdf+RPbWTwxMmPj7e9vB1oPuZF0a1KZ88Vad+sC6RklEXj9hf viR2h/9Nz46yUp4NKYlXJnvtX53e3G6dMzvz7QYuj3t9zXFR+4I9rURn9yuxFGckGmoxFxUn AgAf1qImUAIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplkuLIzCtJLcpLzFFi42Lh2siRouugxhRp0NpqYnHwZxujxd53s1kt 2jZ+ZXRg9ni/7yqbx7Q155kCmKK4bFJSczLLUov07RK4MvomvGMuWCJZsXzTebYGxo0iXYyc HBICJhK3f2xm7WLk4hAS2MgoceXQSlaQBJuAkcS39zNZuhg5OEQEVCVuTXMBCTMLuEs0tz5n ArGFBeIl/n95AWazAJVMnnKODcTmFXCQuNI8hx1ivrzE2S07mUFsTqD49vNzGUFsIQF7iX8L /jJOYORewMiwilEsNzOnODc9s8DQUK84MS8lszhbLzk/dxMj2MOckTsYn040P8TIxMEp1cDY IFCx6S/bPs97kf299gEJG9+nr8vIzZ4v73rvArcs65lSk+mPTuuEnj382kflRhen4spF26p8 /8VcuFrA01nusGNS+3eLkBnbw44/2NbFJcw19WJ6ZFb6dyHfw5+jPSK3MDU1SF6vviATYmOm k7359oQqAS0d3Wn3j75flHppssRzFbfL1/cqsRRnJBpqMRcVJwIAESKkHKABAAA= 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)(39410400002)(39840400002)(39400400002)(39850400002)(39860400002)(2980300002)(438002)(199003)(189002)(9170700003)(106466001)(33646002)(53936002)(5660300001)(36756003)(76176999)(189998001)(50986999)(356003)(77096006)(54906002)(1076002)(4326008)(47776003)(81166006)(50466002)(305945005)(450100002)(50226002)(8676002)(110136004)(107886003)(38730400002)(2906002)(5003940100001)(575784001)(8936002)(86362001)(6916009)(2950100002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0401MB1161; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN3NAM04FT032; 1:vwtQpLPhiaVKLgvwpF3KvJy1ETwnskUWQshDMbBRI7P34zqmr5b8JjHJLaIFTkmQ269MLI1cb0xV1b2nfOqmMp5nm1n9prkMQipCHg44YX0a85fqnUl3em1M6HDsW39lEHBS25vmldQrQrH/VvAVVb1L7y+TRYcPMHZ0fAnY/7M9shoL7z+scY13oKkypclqn6n9KYRC+SjAdOsOdvuKX+ZpuFhiA6ozgndxI3TMOPsat51Bkp+pEkkU/UmXy7PXivUhV/2fZQdAy3Q2rFy7T1LjBUAYc+1IHcGkMkyjF+sB3KRMfi9lEavQp/54VWgv+sMzBSP0JNERBj9h3GYc75eqLyOQRhbw1o2hH3qCHLstHw1BB394RCAQsJsLwh/4a8IlGhIrkeu3o85fdgwhaTrscvpIbJYs7VghL5Vn9I+sxwN39sAUurBE2u7B5ONWNKLoa8E3YLKK7RZ9a/Td9UT+0IuT76CrwtWzD15Rj4ngD0dlX2PtuyPCX4umcNpz X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a5b1a977-0186-4111-4d90-08d48d90796f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:CY1PR0401MB1161; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0401MB1161; 3:K6yvjSrbvMfFOlgtKbPCohZEpyG43Ipq3MV3VlatVtcd62wdrHptrYLu43Y9ziOvxy/gIr/AkD/HxMXdxY0r+gG5Dlr5yhXWnQ6pUZ7xEa3iYbWa6slXTMGUOkYqHTDhOoT0IPdajPKrp5PK9rKoVq0157PsTR1qAWv+EmHrX1i2pLWORA3rNFPYbJDCM/sesuGrHcjSAC3x/tD74NAyBL9oQzdeAL+DGtwcJh0NpefFkw3DogxmkXNR8Armg6rdMv6bWs74XF+kvqvrseQz54EaLZSmegNjodtc135dS15DAcNAP1Jrou2o3j9kOV7SJcb2oON5145cGXTvMgt6hZTfKlqW0NvXxkOnBu/CXeH9Bs3l2bLNQ1OY11TQX/lT5Y3R/dOjmAJ7zJsPjijHg6kTuYyQOw4KTKht8w1i6cSl7i4fiuYvM67rEelwW2QPlIZe9o2HjUQdRrI8y+YmLNAGsWJE6QMerGxZ8neS2yU1Gy19MdX5f6a0SYVyE0+NS7LHEDgEWK6iaVu3poFHtQ== X-Microsoft-Exchange-Diagnostics: 1; CY1PR0401MB1161; 25:+aNyrCupKGqEB19h7DTncpTz6D3G9H3ASI8QV+NzSFoHJ1j9zwvedszQAmHfg9ScYJ87zQLIBlYXHOu/BpaqnATpPsYS6QaUyB2D939qT38cXtgze4bvvqJtV+KVBExqgEmTsTTE6jDppNqv2MiXLoCKlH/zB7YdUfg7Ux39IQauK77bduKgeSvdmdwFFGadIXUd2W5Q0x5b1x7bQhYDYFPDZMJaPy+y7hR5z3B1/pZqrxp3H44qwha0cNb5ul7WixTyT224AyK05O6lRKFjjLO1mW1nPGUMFpilhoJqSfxiI1g37OvAW/Of+As2769HvkbPEczh34wHWYWnkLscPHF2StbBNCsUZmXvZ+7R3wX1rcztfoCQbgVT6Wz8qS4u7vJTxXFsjVANL2I5aQMH2xSwAL2irxwJ3887e04C6QHVnCPgZy9ve+PexJ6/4ReiTvymCWowR25sn+1qhbOeeg==; 31:g7arf9RDDtkj+cB+c/0TyE7KraSzX25x46R4tPwG8mdJf+dkhhPaPb0yBEfIkYz4VU96oCyC3fYun9aZxoxzkI1eRKKuHXqvI7hVwbJMgqHtHvJq4WQyiTyhMRaCB79LhxLqmwtRDdLY7SaR6C/rz0anoIwZ70X0Lnd9RLeu/l7+1OzHYwra8ywa2YH/5IwJVfAAK7s1JSEpDLBUqE1dUE+d5gftLXElEBRfJ2yNf6PLtUjYtOeLul5YRmPGfKUYtKyPT1yAlEnP5f6hmvrEmSqpanIpuTjOnfAE2qCH9H0= WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; CY1PR0401MB1161; 20:pUQBsxYLUdwNqVno/kBFgDIu09O5OKijIiqQx6y0Wp/b4TbGzLTTlh+5+8xT+v9Rcfs3wPxkIEudIytqb3zWM10SS5PoxUT9I6pw7N73MOOijKNFvvfQjyIZAWSmothr5NricaFQHunENdehW6lmBXOGd7VhZA3Uq6hHSMjSAZ/fWso8YuYjXFO3L3MtuWGxUOaeWjAwdH5bDd4ZcgYNMUAPgeu4Yj6HOOCPoh193B1WVOax5UbLIHrhlQ4Jc3qzmnBOeI5s6tzFL9k07oAGcjzCSCvLq0t+dy0H6ftSwtSEXnoBVE5qydYGDluAZsQ+dXOK9VGw/g7l06KqhOxHDaaTQOa48SpAQV1B/gZ0DBK0sVx3DHajWSPwXoZsj6Ag9m3a7Fu66qg0jQPduKt2XbxT7vag48v+giCqLmKObM6KCLYJptKMXzObEt8hU8ksQOV8HsbGVNQGXLRWnJ4AKL9dgwfbJvYXAT2wITWbOOlqheyJGC2HFMgWHse9+PyA 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)(13016025)(5005006)(13018025)(93006095)(93004095)(10201501046)(3002001)(6055026)(6041248)(20161123564025)(20161123560025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(20161123555025)(6072148); SRVR:CY1PR0401MB1161; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0401MB1161; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0401MB1161; 4:M0uOvBg5SO7oLLoJSeuJZ3iy5Wl29WM6VZjAMNF3cJyUclR70ycyfphzheeeVraVrA5KDVwvKgTrInTPw5zWJFCd7VJ1oclmMTxLTv4EziLtSUwBjgVIgHsGCv5lsTV20BWSwhEUytEZ095THt3cHE/nkLS8SJTL/guSMQB+y5at3VAx5bzqd26Sax6wHStxTWagnDx2/E6sIHsZpl0f5UfJ6YpN+rJDOn5QHrgEcyNe5Crfc8/KaGRhI2ljotRQnN7Os70Rtb0x2IFCz0qkyMJs0j38hqJ19MX6pFYERqtkELnoOXGERtbKTVbblD20GMuKoSqglcgF5kyZqwHZHmlqg81RRDKZd8LeOVWJJrPsfUXLM15r3cWHxaR3/9ii0TrybLAm6x5xb3dBO2UNVSJ72Tz44ApkL9Yvuo8gC5I3hSvEack0VT++8HApUHmJVaI54v50WxGz7ApU10MfrsM+n5aJX+VeLojEwz1otO2OBvYQV0Ry00nebZKv9ryz+dVr4ldbVVjOjXazMPVnlpL7v4PvKteMEi6aMrpdPE0jD4wpuchCly3AaWLots3R4A6gbAzMvlwo/tsqZbiXFx0LBnrOhelHKd9RF4JBgXSBhAO5C30VWILBCDqHDm9GGcz4dTTj3Yu76kdOY/Cbk3hpCqmgfiq5u6ZtFFVczwwxNbfmrB9tc6n+MLiZ4pDCpb4V+r0JlK8RMULnPm+2OIZZv5kRiUzDDuzdFIMHWehV3bl+z76+0RFw1hjSxhCmJ5NVKxW5a4SfdjCRtRIRxegeuFWZSimvlLjN502dO2ceqUXlcig/9hUBQnD1qaGg X-Forefront-PRVS: 029097202E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0401MB1161; 23:mr5dnGEIp1ehIwQ3ePQ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n5UKISqsnYcxNrR+yuhTsc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0401MB1161; 7:MBhoBlgMbme4X3gTyYMQwkhzKbmJaBbdkMgfMi+e6r88v2GG+OpNGRe50MNb+PYNrspawV5nCPAdFQgl+7zLDHjGVqgc2HBM4XQpOiR6aRjnOvVUt9qNS5WMyHC/GGqnw0LNI+WnbBTYniHYAEdvDlyODJCHBjZzJOAf/EoJ9V+yuzAvPVBKaioCpPdoCu5EYmt0Qo8RbBpfH54LAJbCT59d0XLOEoyrDH98mO3ZwN1W7+l3IyqK+7VBVj6u+kWydb2Ji8uX5Rj9jqYhIsgiZTXT+z8H4wZSWl89OzCEjRRna9VYMfVdQ3V6gt/UqYPQxALygJpRQTdFXYWeoIJNlQ==; 20:ynqVHZtdBSnYo2fSRGZeq5UlpuInT8dUJFaT4839EXwg5LKOEzowFMZnau28ygKPkKVTcPydmIDTf82AhANGVSWMi9yHI+vjUAJR/qkq0OpbrKOQ/Z3M7NjUFKgt95IG/HB1BL/CMSInDO2YgRW247YyN4xhRlRxUSqojqTaiEw= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Apr 2017 17:11:40.8383 (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: CY1PR0401MB1161 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.39]); Thu, 27 Apr 2017 17:12:52 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Thu, 27 Apr 2017 17:12:52 +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] X-Scanned-By: MIMEDefang 2.78 on 10.5.110.39 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: dm-devel@redhat.com Cc: Bart Van Assche , dm-devel@redhat.com Subject: [dm-devel] [PATCH v2 13/13] dm, dm-mpath: Make it easier to detect unintended I/O request flushes 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.11 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:34 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP I/O errors triggered by multipathd incorrectly not enabling the no-flush flag for DM_DEVICE_SUSPEND or DM_DEVICE_RESUME are hard to debug. Add more logging to make it easier to debug this. Signed-off-by: Bart Van Assche Reviewed-by: Hannes Reinecke --- drivers/md/dm-mpath.c | 25 +++++++++++++++++++++---- drivers/md/dm.c | 3 +++ 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index 6cab04a0e565..1971952396cf 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c @@ -442,6 +442,23 @@ static struct pgpath *choose_pgpath(struct multipath *m, size_t nr_bytes) } /* + * Note: dm_report_eio() is a macro instead of a function to make pr_debug() + * report the function name and line number of the function from which it has + * been invoked. + */ +#define dm_report_eio(m) \ +({ \ + struct mapped_device *md = dm_table_get_md((m)->ti->table); \ + \ + pr_debug("%s: returning EIO; QIFNP = %d; SQIFNP = %d; DNFS = %d\n", \ + dm_device_name(md), \ + test_bit(MPATHF_QUEUE_IF_NO_PATH, &(m)->flags), \ + test_bit(MPATHF_SAVED_QUEUE_IF_NO_PATH, &(m)->flags), \ + dm_noflush_suspending((m)->ti)); \ + -EIO; \ +}) + +/* * Map cloned requests (request-based multipath) */ static int multipath_clone_and_map(struct dm_target *ti, struct request *rq, @@ -466,7 +483,7 @@ static int multipath_clone_and_map(struct dm_target *ti, struct request *rq, pr_debug("no path - requeueing\n"); return DM_MAPIO_DELAY_REQUEUE; } - return -EIO; /* Failed */ + return dm_report_eio(m); /* Failed */ } else if (test_bit(MPATHF_QUEUE_IO, &m->flags) || test_bit(MPATHF_PG_INIT_REQUIRED, &m->flags)) { return pg_init_all_paths(m) == 0 ? DM_MAPIO_REQUEUE : @@ -542,7 +559,7 @@ static int __multipath_map_bio(struct multipath *m, struct bio *bio, struct dm_m if (!pgpath) { if (test_bit(MPATHF_QUEUE_IF_NO_PATH, &m->flags)) return DM_MAPIO_REQUEUE; - return -EIO; + return dm_report_eio(m); } mpio->pgpath = pgpath; @@ -1484,7 +1501,7 @@ static int do_end_io(struct multipath *m, struct request *clone, if (atomic_read(&m->nr_valid_paths) == 0 && !test_bit(MPATHF_QUEUE_IF_NO_PATH, &m->flags)) - r = -EIO; + r = dm_report_eio(m); return r; } @@ -1527,7 +1544,7 @@ static int do_end_io_bio(struct multipath *m, struct bio *clone, if (atomic_read(&m->nr_valid_paths) == 0 && !test_bit(MPATHF_QUEUE_IF_NO_PATH, &m->flags)) - return -EIO; + return dm_report_eio(m); /* Queue for the daemon to resubmit */ dm_bio_restore(get_bio_details_from_bio(clone), clone); diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 7161c7804363..9f0aed0e1bf0 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -2158,6 +2158,9 @@ static int __dm_suspend(struct mapped_device *md, struct dm_table *map, */ if (noflush) set_bit(DMF_NOFLUSH_SUSPENDING, &md->flags); + else + pr_debug("%s: suspending without no-flush flag\n", + dm_device_name(md)); /* * This gets reverted if there's an error later and the targets