From patchwork Thu Apr 27 17:11:15 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: 9703255 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 56D34602CC for ; Thu, 27 Apr 2017 17:12:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D1D326E16 for ; Thu, 27 Apr 2017 17:12:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 41AD828632; Thu, 27 Apr 2017 17:12:47 +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 5D06B28636 for ; Thu, 27 Apr 2017 17:12:45 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4263261D0E; Thu, 27 Apr 2017 17:12:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 4263261D0E 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 4263261D0E 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="iXNZwRCw" Received: from colo-mx.corp.redhat.com (unknown [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1EEE182924; Thu, 27 Apr 2017 17:12:44 +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 DB2565EC69; Thu, 27 Apr 2017 17:12:43 +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 v3RHCe8U029892 for ; Thu, 27 Apr 2017 13:12:40 -0400 Received: by smtp.corp.redhat.com (Postfix) id 4399C17154; Thu, 27 Apr 2017 17:12:40 +0000 (UTC) Delivered-To: dm-devel@redhat.com Received: from mx1.redhat.com (ext-mx02.extmail.prod.ext.phx2.redhat.com [10.5.110.26]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 38E5117B74; Thu, 27 Apr 2017 17:12:40 +0000 (UTC) Received: from esa4.hgst.iphmx.com (unknown [216.71.154.42]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 628AD7F4B7; Thu, 27 Apr 2017 17:12:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 628AD7F4B7 Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=sandisk.com Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=Bart.VanAssche@sandisk.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 628AD7F4B7 X-IronPort-AV: E=Sophos;i="5.37,384,1488816000"; d="scan'208";a="14359750" Received: from mail-bn3nam01lp0182.outbound.protection.outlook.com (HELO NAM01-BN3-obe.outbound.protection.outlook.com) ([216.32.180.182]) by ob1.hgst.iphmx.com with ESMTP; 28 Apr 2017 01:11:38 +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=8DNtA79ai9Hs18YSUGZYqazqbpoOFvHvVQTqZCxvYh4=; b=iXNZwRCwpjRZpfS63Xtion9QiOwLexB5NFpgo6bVl+KavTME15kQj2kNdPMmdMNGk0Qcr5PMmeGhO+51Rrvb4HYV8HJd0ZH2An88WROkWnYfmldlR5WrKQgAbco3ZL5jVfjeRGLoBPODETqqzzwtxUZ96t3fY0TtVK3KZ0/QrE4= Received: from CO2PR04CA0085.namprd04.prod.outlook.com (10.165.94.139) by BY1PR0401MB1159.namprd04.prod.outlook.com (10.160.193.156) 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:34 +0000 Received: from BN3NAM04FT003.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4e::206) by CO2PR04CA0085.outlook.office365.com (2603:10b6:104:6::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.12 via Frontend Transport; Thu, 27 Apr 2017 17:11:34 +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 BN3NAM04FT003.mail.protection.outlook.com (10.152.92.112) 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:33 +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 45.AA.29323.34622095; Thu, 27 Apr 2017 10:11:32 -0700 (PDT) Received: from milsmgip11.sandisk.com (10.177.9.6) 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:28 -0700 X-AuditID: 0ac94369-548749800000728b-0d-59022643fa40 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id BD.E6.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:15 -0700 Message-ID: <20170427171126.26814-3-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+NgFrrNLMWRmVeSWpSXmKPExsXCddJ5ka6LGlOkwfmFAhZ7381mtVjwZi+b xcrVR5ks2jZ+ZbRYsPERowOrx+6bDWwe7/ddZfNYv+Uqi8fnTXIBLFFcNimpOZllqUX6dglc GZMPLGAtWCpQ0dK7jb2BcQdvFyMnh4SAicTlc09Yuhi5OIQEljJJNH3/yQbhbGOUOHu7iRmm 6uOmh8wQic2MEl1Ll7OCJNgEjCS+vZ8J1M7BISKgKnFr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xzL6cz+fv7TdYcl9hYdO W2abLPZSYinOSDTUYi4qTgQAKUz8Mr4BAAA= 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)(39850400002)(39400400002)(39410400002)(39450400003)(39860400002)(39840400002)(2980300002)(438002)(189002)(57704003)(199003)(9170700003)(86362001)(8676002)(2950100002)(36756003)(6916009)(2906002)(53936002)(5660300001)(356003)(54906002)(38730400002)(106466001)(6666003)(50466002)(110136004)(4326008)(189998001)(77096006)(33646002)(50986999)(76176999)(1076002)(305945005)(5003940100001)(50226002)(47776003)(8936002)(81166006); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0401MB1159; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN3NAM04FT003; 1:I91KC7/EOcz1QF3rCD4RFvOREwBptuzD8lsRtSwp7hxqO82y05255WOlJF5RPrj3ckpkvdMiDVbNXPsXCoFiJgZhV5CwzE1Y6t5RZaZtMVet3y5t6MZcUAx6RhbQfO7CkZRa3Q/IeKINKYPtCXCrD7lUL3Z0GTt3Tcf1CUKZuzYcwLvQZrJ9EIwMKC8TuPWSNbhzBGIW6SBQicSzqKVpKAyN5oyp4/DLgW/sJ3HU3PQ5WUNVe1EFHFBoIYWcBo0lmsXLfYG5OJeAcrRTk9wyGqTqkJw51953cpw+pXp7WA7efrh4fcu6xIqDO14SVioqKL9iLDqItGL8vqhP4eXwErEpEbB6RBCDXzTnykXbExQPHVEcf7WxkzQrDk9+d/GusqHT+VdJm0+hFZdVr3dKsOBUsBM4Z7a//mWLTyKsyPqqNiUuryEsKvmWDiL+eglMBiNb1F05I8faLRqC/JxWpKkdQ2ql08nATmjwCo431ZiDryONU2rXp6KVCGV/NbSn X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dfb8b974-c086-45c8-02ab-08d48d907481 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:BY1PR0401MB1159; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0401MB1159; 3:MS9LBKKaJSSLr1BWBfRUvVJGHnFzjfini86oKtRlyscXObWUY7ygL8gtpQRHE6OJggj0dbGMvGlM5+HqbhbEM9kOlGwbYrC81iOv40Q8Bx/AllADy+tuNDTGXpAJfauQgmKz+cVzZJBoIi7zfs8jJrFbMqLBeLrK8MDND8t4hzB6oglxBWJ38e9h8QbYT2KDfRbtgORYS7f8HWCD8A4domUpzbOvAervu4QKxqxyWD45fwn2p/CdoV0hmzA+uQtTvEhYR21mWDV4Kdjw+SGwH4hx6fTFcZuKiNXt9pchr/DsLyEqxk0+iqsHD0rnGHTO4rCguEOYjcgT/qEfmqvvOoX17ASS02if3wZCDN0LqBfC9oSlSiln5x6vRmJWJMoqM7aN5/OW4FL/lSn30xiG2Mk1ueO/V06je8n034NTHqYkfNzuukSrkACrOqBtwJQSUvjsnzMdkHEvthDRMGJzX3J5BZv+rXNwHY61QB7PPoMwqfbKKC6jJEZVF9MkIKhX X-Microsoft-Exchange-Diagnostics: 1; BY1PR0401MB1159; 25:HAXxQYh1xgYG2Dsa6Aoj0Qnw6XcIvwBCi3iAQaP8m4qECKZs/KNdZNrk9bm21H3HUMdGB21cyMin4advOd/BDP00gfd97WrDgpnRRYhak5W6QTTPuUkHLHJK2YpOmCQ7Z2Jak9lsqGfwU+jYIWqna5mh4vD+1adujFmc+okLtxL4XNQomfjLEYQQ0G+VQ1b0zW0H4X1VDspHd8Z/jlb0i46fLgSkpYJLTmi8TGS8K3ZZWKn/hghV2MAMEpkPD+yWmWH6HRn7HfEtP5sOIwWvWYNlNp9SigWf14Bq/MI+ZnKxl1Xtmr27ASrXP27xWIFGmnDGbKF9LKp0I+AxyZUkdgigYsFTPi3EfGZQkpueNnnC9cPmcBIqZb7zz6hDDaw2Ydx3iMoIP66DKWiD0ScOpWS/UTV7KPUig4BDzpDgWcXm24XRakRL0CAYN1Wpw4fo0ygVqjygNnIyfDGlxDKOwQ==; 31:phTUNuj46iZPON2lEBjPLRdeQB9loAfqsgajDReaEY5/cA/3iMx6lKu6ETp23k51GFJbm0HlqfRx8wl/IFpeXM4C6raULsl9Gvxp2UjmfWNqVmw3JOZ/UziNrb1uqyRJom7FpmE+bNT0U+56E8tt6poycjlmZAD05my2kfS/IB0+Z3RONi3qUrnQUv6mKPRGuuIwOpK09mOHU6tfsMWWDDMYXoFnpPaSm+e6xBs//8Wfu26RGjaB4EPrXqfg8i+elsQ2WtUpKv91nUoB+XM0Gw== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; BY1PR0401MB1159; 20:GpYX/fIchspklv2OlEVl+M0EH7D3DsPwBeLKZd+z4gHyt+7X7TytWQwmb9Uc6LUGbAuxzbWW7QvMNvSoHSocQzcSDK3jSSHN3R32FmeVBCaP46yxBVScCkzgw0R2y5Z4c9brlgUDl+wJqVH7BRHOy7yGpPNcpdDoriyTjg4OiszpH5BICWMQZ+lY317lhLggQM3eN2yNc91E+LU5gRZH/TqsZh41dOxchwjyj25gn6SUVl3FLTjBNVdfxpUUnS3uHWKzD28l8GCzfa0H941qTA1TMsfZBMRZF6dpMgUgZe0UCGaztOJFjyjmHk/dF0pNP+pzN6u1/W33/y9K8KrNypaueoKMKjqHP4phIMaM0prQlTSf66wRM58SB9hnLStGbiBJLxHDrlAIlYAoFtK6IDDGxPt3kc7CRY/j+WYEiYqdj434OyMyBPDibyOdH/fyxvRtV9XUkT8kJf/daJOZxfuiN/Na4moIome2lL1IcjVvF8TMsLdcyKsnFdRhsWRr X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(9452136761055)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(13016025)(13018025)(3002001)(93006095)(93004095)(10201501046)(6055026)(6041248)(20161123555025)(20161123564025)(20161123560025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(6072148); SRVR:BY1PR0401MB1159; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0401MB1159; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0401MB1159; 4:oTL5auYmAyauP8OXKpO0M3BKDcyTlFLBzmA8EOB8rTq0VK9/Y77bLsAkZkUX7F+eLmSovUHxQG6yGzbl0+M8LgTA5HE4OXF5zGnC3H0oFobCP2RIM4/nx6/lSnpYJNDe+a/qLWWrIeBYSLIStZANiXZtrLj0E/8ma21qHRfbrmO568DqyHFLZVEKbqC+ubidVmAR09xZ9gOYb+5ohv0WKOFpp2uYBAlgsULlWzIGoaH6olOmNfpIDe8X7+phothuchTLhxiLNsWDItGTv2yRXQ5LcfMSAmP7/VhdXP9dU02ZLBl2mbVJhTY6k8KB6f1/ppPFSqFA388MsX8im+Jc/slCvM3woYgSR6VnqlRrOlRUtlHEf55IyCy1YpheN13PhqZMjpbiRp47sMl6GUq366BOvh1YmqmoKZvYbI5OjKh1vn3qlKKzFLKYTloiN0dfnbewr+XXDgbMuSOLmB/GN6f3wYc/mkBlQWCAdqqVLUSV3HQoxnD3XaeGsx4JylA0R+r3KEhzKZ7OPnxpO0m6xZ9kFW9kDaOgafUJIiQlCogMr6lPyjTepbWc7H5+Oe75EE1S0/VxokiVJYPwfsgICekkW/lrEA+0C+xUaVtZh7suPKTeuhyZhR5MSFpCg+85QIsK9h6/1LF1GRfh+ktHut1kbR65ymIVD6ueSVysuKYk3St+UHIs6yedrhiB1D7djP7i2dMXZRxrurE6tlNRmYhNptpWYmT+lmtOdNjr2baAJXTUHcYYvkVBWcxV5O6In9uRNx5CWMSS6me6UAmZoHiTdRdbzGyGXtw8UQ4LuoAddknYVI3B0qVCUDPkvbgOEPksGjO9+fpBjTpBVDQ0uy1o5yBDAfaEvCzbDn+oPKM= X-Forefront-PRVS: 029097202E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0401MB1159; 23:3O9XvfDK1CqQbq53in/ZJ/Myv05GWhyEHoDT4M4?= =?us-ascii?Q?o6f+YWzyHvnZJDB0uopTso59081ypLun283qb32VEVBGQ0IZ83lUx4GcYIY+?= =?us-ascii?Q?2vIIqGkLtnOpLb/1dah+B0rllL+ty1ool9Gg5jxjhBSwqPCnTaVllBi1kwVo?= =?us-ascii?Q?MBZYnF9SBBhpyoTqlK4P3/p7nVICvTZNPIDARIGhNtYivtGrxqLjjPpr8ygl?= =?us-ascii?Q?nTihaW9kWjf4QepKTrQOZ1acPH27K2FWI385APvEeNevF564UtF73Yyy2bzw?= =?us-ascii?Q?HieCMDZJnSeO2EWIDwkESZi6YxWxnFsDcdPGpZdC0zrvrrP6JJJZ5IiVGGYX?= =?us-ascii?Q?075xqLXPcbNMZ2Td3jV+D6AKnBYQtDEkUJv+Uoh0M/LQ2A01h5APFPi81ret?= =?us-ascii?Q?p+Q/msZfeJI1FbmjlFnG4P1g4seYBmbvcHX0IA/6Jc7QV96f8cXozyRxgmyN?= =?us-ascii?Q?8n0J757jh3xBzpckUNI9dprRnyfRp5w+oMgYDJdl3OHv556ERNByi4hnVpzN?= =?us-ascii?Q?ds+N5OnuKESZHqylJny70DSd0JuJ/Wwvnsq5XQYUm8SxJtpiiYaFF2dgSwx6?= =?us-ascii?Q?WG+9TMYZW2wIQqeqpLlZRlrKya6NIUTFPJgogeZhAmojYStkwTXMODi6U3uY?= =?us-ascii?Q?0O9JYWpLwSbpKHJRT05iPrNEkSEE31qxWRQ/z+kSzxOrd9InL0VTBuo47+zI?= =?us-ascii?Q?oOCDa5qKWGNTixlk5EDYz9n0ZqP9bAMAygcSsnq7vrq241ljIIOYP8RAqlQ+?= =?us-ascii?Q?KGoA/NvWL8iayWvnnewac5D2uDjyJc6j2ykfc9rzXGvvy44sWvSkjTkcGUh/?= =?us-ascii?Q?M66RvGqo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Glt8kpzdGQBT2m24SkyOgC4fBDYvI+6EjUgGV6re6EezlvDydyPmc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY1PR0401MB1159; 7:qqVBYmJ7rk++r1vYYKJ10nbEZM76lLAT3jELcvj+ZRI581hqS+DXDZhtM8qU5sS+ijuwQXXmPHdC6KkRNAIh0BCNFQwdF0T7iSkzyu64UPZjPuLI8z3RPa2C15LWL9JjUe4BYLsxITdoD4em0eMSHfOrsChJzO48PvG/0fycxpuONJ4Q+c3YZkCsGEiyN9w708RwSPBO5hfHCgvkMWqh0mkzAGrILJmssiHS7QI5oAR29R6zAfb7RSpaeE+7JgzJ0wdADnoh35f/taEGlY3R8dNrbpsg26wjBZgNxwtccDOVVn/84OgVApu+Z+SP8Sn4T5tRmfnqRz0VZlF5XVL0XA==; 20:Vav/90+23WcDvDvIvAwfRFUO7Pkuw8UaYt4cGbU/9/EmMkR8kBUI5o2rj60BexwwoE2FcIIhreVM8ZHdBzDq6N3x7AmZPT6yVCVYkGeJUQ+ggxFFBTu3Z9YHDRKAf+c5tT9R5NlSqO3BLNI3S3CkdzXmwqpeaNkGqvbZ1g+kh7Y= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Apr 2017 17:11:33.0345 (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: BY1PR0401MB1159 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Thu, 27 Apr 2017 17:12:07 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Thu, 27 Apr 2017 17:12:07 +0000 (UTC) for IP:'216.71.154.42' DOMAIN:'[216.71.154.42]' HELO:'esa4.hgst.iphmx.com' FROM:'Bart.VanAssche@sandisk.com' RCPT:'' X-RedHat-NoPTR: 216.71.154.42 has sent a message and has no valid PTR record X-RedHat-Spam-Score: 1.193 * (BAYES_50, DCC_REPUT_00_12, DKIM_SIGNED, DKIM_VALID, RDNS_NONE) 216.71.154.42 [216.71.154.42] 216.71.154.42 [216.71.154.42] X-Scanned-By: MIMEDefang 2.78 on 10.5.110.26 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: dm-devel@redhat.com Cc: Bart Van Assche , dm-devel@redhat.com, Hannes Reinecke , stable@vger.kernel.org, Christoph Hellwig Subject: [dm-devel] [PATCH v2 02/13] dm-mpath: Avoid that path removal can trigger an infinite loop 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.16 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:12:44 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP If blk_get_request() fails check whether the failure is due to a path being removed. If that is the case fail the path by triggering a call to fail_path(). This patch avoids that the following scenario can be encountered while removing paths: * CPU usage of a kworker thread jumps to 100%. * Removing the dm device becomes impossible. Delay requeueing if blk_get_request() returns -EBUSY or -EWOULDBLOCK because in these cases immediate requeuing is inappropriate. Signed-off-by: Bart Van Assche Cc: Hannes Reinecke Cc: Christoph Hellwig Cc: Reviewed-by: Hannes Reinecke --- drivers/md/dm-mpath.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index eff7ecea1d2a..cc41e34607c3 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c @@ -490,6 +490,7 @@ static int multipath_clone_and_map(struct dm_target *ti, struct request *rq, struct pgpath *pgpath; struct block_device *bdev; struct dm_mpath_io *mpio = get_mpio(map_context); + struct request_queue *q; struct request *clone; /* Do we need to select a new pgpath? */ @@ -512,13 +513,19 @@ static int multipath_clone_and_map(struct dm_target *ti, struct request *rq, mpio->nr_bytes = nr_bytes; bdev = pgpath->path.dev->bdev; - - clone = blk_get_request(bdev_get_queue(bdev), - rq->cmd_flags | REQ_NOMERGE, - GFP_ATOMIC); + q = bdev_get_queue(bdev); + clone = blk_get_request(q, rq->cmd_flags | REQ_NOMERGE, GFP_ATOMIC); if (IS_ERR(clone)) { /* EBUSY, ENODEV or EWOULDBLOCK: requeue */ - return r; + pr_debug("blk_get_request() returned %ld%s - requeuing\n", + PTR_ERR(clone), blk_queue_dying(q) ? + " (path offline)" : ""); + if (blk_queue_dying(q)) { + atomic_inc(&m->pg_init_in_progress); + activate_or_offline_path(pgpath); + return DM_MAPIO_REQUEUE; + } + return DM_MAPIO_DELAY_REQUEUE; } clone->bio = clone->biotail = NULL; clone->rq_disk = bdev->bd_disk;