From patchwork Thu Apr 27 17:11:16 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: 9703247 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 5A7D7602CC for ; Thu, 27 Apr 2017 17:12:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E13E28636 for ; Thu, 27 Apr 2017 17:12:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4072228639; Thu, 27 Apr 2017 17:12:42 +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 26CF426E16 for ; Thu, 27 Apr 2017 17:12:41 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1AD4DC21865C; Thu, 27 Apr 2017 17:12:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 1AD4DC21865C Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=sandisk.com Authentication-Results: ext-mx08.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 1AD4DC21865C 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="HzVWMUnc" Received: from colo-mx.corp.redhat.com (unknown [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EB6CF176A6; Thu, 27 Apr 2017 17:12:39 +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 B1CAF5EC69; Thu, 27 Apr 2017 17:12:39 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v3RHCZtX029855 for ; Thu, 27 Apr 2017 13:12:35 -0400 Received: by smtp.corp.redhat.com (Postfix) id 8F7FF17241; Thu, 27 Apr 2017 17:12:35 +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 D6AAB82920; Thu, 27 Apr 2017 17:12:32 +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 829D87F4AF; Thu, 27 Apr 2017 17:12:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 829D87F4AF 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 829D87F4AF X-IronPort-AV: E=Sophos;i="5.37,384,1488816000"; d="scan'208";a="110161815" Received: from mail-sn1nam02lp0019.outbound.protection.outlook.com (HELO NAM02-SN1-obe.outbound.protection.outlook.com) ([216.32.180.19]) by ob1.hgst.iphmx.com with ESMTP; 28 Apr 2017 01:28:44 +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=lS4em+hgbKGMHxv/rOIIasJ6OM137GXOhnGKTKk3z6w=; b=HzVWMUncKLnnw6kRnFrLUkuZfh2Fjqi2naabpxznDgbDYcGi1eAeyO9kycZJ6Dh/V2Istikl9PTA/j6zjw1assTqpISH4VzJ5fsF8BrJlNjB3ZaZp7XrvCzXIMmO14imw8i3rL4qH32GmTiEe+uq1eMXH/IM013galNJ2pG3rtk= Received: from DM5PR04CA0036.namprd04.prod.outlook.com (10.171.152.150) by DM2PR04MB669.namprd04.prod.outlook.com (10.141.157.140) 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 CO1NAM04FT052.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4d::205) by DM5PR04CA0036.outlook.office365.com (2603:10b6:3:12b::22) 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.225) 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.225 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.225; helo=milsmgep14.sandisk.com; Received: from milsmgep14.sandisk.com (63.163.107.225) by CO1NAM04FT052.mail.protection.outlook.com (10.152.91.24) 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 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 DA.F2.19026.44622095; Thu, 27 Apr 2017 10:11:32 -0700 (PDT) Received: from milsmgip11.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; Thu, 27 Apr 2017 10:11:28 -0700 X-AuditID: 0ac94371-41ba798000004a52-26-590226447584 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 1E.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:16 -0700 Message-ID: <20170427171126.26814-4-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+NgFjrPLMWRmVeSWpSXmKPExsXCddJ5ka6LGlOkwcYX0hZ7381mtVi5+iiT RdvGr4wWCzY+YnRg8dh9s4HN4/2+q2wenzfJBTBHcdmkpOZklqUW6dslcGW82yZYcIyv4vfW +cwNjO08XYwcHBICJhJNG7y6GDk5hASWMknMaYjvYuQCsncwStw418AGkgCpeX21mw0isZlR 4vGxlawgCTYBI4lv72eygAwSEVCVuDXNBaSGWaCZUeJz1wKwZmGBG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I9FQ i7moOBEALc3m3rMBAAA= MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.225; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39860400002)(39850400002)(39400400002)(39840400002)(39450400003)(39410400002)(2980300002)(438002)(189002)(199003)(9170700003)(53936002)(189998001)(38730400002)(110136004)(50466002)(8676002)(356003)(50986999)(33646002)(2906002)(5003940100001)(76176999)(8936002)(81166006)(50226002)(54906002)(6916009)(2950100002)(106466001)(4326008)(47776003)(5660300001)(1076002)(6666003)(36756003)(305945005)(77096006)(86362001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR04MB669; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM04FT052; 1:kmkI9dr6kmmvXtQwkjvUevVAxXavkzl+QyqrLsOPLne9h+b+HZqLVEyI1aXYERcj82JvJMwJNArS0jZObZURnG905kygLmaNHlf4oy52A2VW72PvYdpQWjhngYHhmjbUBzMPri6lm9QOL42QDVFdUF6V9fIyAc7P57OvXX60e7YeDfUTBeArh/02KjhH0H8MfpneP8YRkD46M74/Cb1Y8rvlyIlKTQnAGHKuqB3FmF/A8fH8wXTel2myW2syIteEZHaXqswASyr2NEd81ddCa72HLXsu7PusDJAv8jC5mCMptVgKzTSPNXVe1vaXoT6nSs4k9qoQVk8CAV25Hx3cFfO6EcA3WwBtmI2iE5tzyOdTYmss3WC7hoHywfXe0vPpVu+mu+OMAzVUzSQXsusfiNaWz8WQkAyWHKEJff5TKtdIdJc4Q7YYSdqDoxrnC6ZfD4SIU5u56TNb5h7tjchcx4RPHwR/PlequAHrnfpqMBqAiU6mYRji2ccFFhGg83X5 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d986d982-0d20-4ed6-8a82-08d48d9074bb X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:DM2PR04MB669; X-Microsoft-Exchange-Diagnostics: 1; DM2PR04MB669; 3:SG2mS3Z4rQh3KnhgxOOYl8UV5nOO+psndWkL6cw+26md/NSpcTFW8xOnKQdcOGaj294V+VvlvpD9IMGb2Nzkpb/e8vlKHieQap1ZBLINqO/544JUkVm/9kobpJeC1UuTCRGPLkac1Jkw1G4inZ6C0TmV46oh2XylM8fPlbd0fidCFgzqgKV4Yc2RGp81eor5BKXkw/7u2sniXHRp3bp8xif1hJlkTjP9fYPwSZ8I24SwanIny8vHbBQMihEkNxjCP56kJEgVZBVTwdbxSZJBJxppU12VL8yvkKzd6p+vFInGQ+aQ4Wet8rKAOeMUg9p4ufnz4MG6M+zJRAjOBPbGL0hI/ROXivimbfKN3G8Mm1ExyA/MYrP78L+36DpRYgV3tNJPoJg4FYLBX9bRs9Xr6hofiawcgH9jVLWHrbUEyDqxbcWBRv69b4S4nxSJXxEliWeQ26Iv8sPAHOJ8KT0AKV26OUfCbtJZn6K8e/1ijoJSRRvqshD6QdELUnlAN/cQ9gxNvcct1mAPkSoNI82SGQ== X-Microsoft-Exchange-Diagnostics: 1; DM2PR04MB669; 25:amGHFP0moTR28KZeHxtLm4EnHRZbiAmtKxnoa/w3QmeExw3eA6FFWD6tANoFvGZ/bNgjubkClBoRcUF8duSD/m+KJk1aCJZELhzAruAjFVSPzFKsFShG6EW1ZIINerecM3RDdDFLcZ5AUnFxOBCzrnH1QEuVN2kngkN2R33oeTXO3SRr8/YIRfD0eFp5miYRByz092uvBqG4dAjGawtPoIWaoVyU3XCluM9fzBRiK8z/th4UjC6vgijtuRP6VT4Uu123r5RjJEhGAHFka7YEnIvDlyp6FTRnQ8lkE+k41b5yaoSm2ZebiQUqh4UNHH73CLnBbLVbSXHDc0XYx5Sahw0xYfJLrE+Lq8PKFuFzyT0u+KVsW9xdIowrtTsUEW9mCKUwraP6wKCrK5xq50khFLeNx3hruuDrgP0As3DjzRXUq6ivP+6m/uG97FBm7QQyN0ylBWHsmXBBpAkAcbqGew==; 31:SzxWthDRtW/xWUu7cvDbo9394m1RNihhf0c4WQcNcvaZmAxu3Mu0PIFI5m035Fzy3EFbAMbnPcRtn/WXs/TsbB+W7BKRIeqat8eRV6URA0ct3ghBvXhvdbKNUuEuSXLFd2qXTzU8mhBOO0NqQd2zXHxq07LHiFjCgj/zM1uZutJNFbiWBI2vLDDMFYJI5uSk8ob8FMv3G497rk7jYqIMAs0gMnvR/Owey3tXhCtm8gsIjdXVArnGBlEFH5B0MoVElOOcmIlStBQMMUJLt1iivff3Xb3Odi90wvvCmigBXLg= WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; DM2PR04MB669; 20:rhAQhUzWccqdjTw+bPpdDR6o/cCwYNYnC/F1qxA3ywfSTqWo82XNP6YI3QI+IcohuyppRck4QmWrSxTa0yrKqx5K9GmTZvKHhDav1GdCfZrr1kf4xBM5ZY87KSAOZQOW5zUM0KYhhEM1rU268hzoD7z1lXhTtP+4soZxvfkSDAGNFlbKmpt5lVjp+JecXH5UYJXyn1wB/ga20OHyg+uHqZovsdwPo03kgXPaxf3X9HcFPu3W5T0xQqbeJH2Xgn52EUkPJiC0J0UVDqsBVxYaYcmVeklMePGxC70rSogmPHt6yZ+GAKyvpYu7PSFuctrNwLjYv6Q06eCpriJVWL3eSxTlXljPEZAHZPDXrkPmGTE3EIMrIdoZ5STHEKAcNadkIBADDB7HG8cl0yDujOACBgoWFRZdYYZevsRsrQVNLkqyAD4fcc2P1MccUzJOF9gnIBo2ONsRd2mgy5CiT/gdqLKJKpKj7bUJh3Shy4/HE7yUmGIocCUZ8od6VQahj6O5 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)(13018025)(13016025)(5005006)(8121501046)(3002001)(93006095)(93004095)(10201501046)(6055026)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(20161123555025)(20161123564025)(20161123562025)(6072148); SRVR:DM2PR04MB669; BCL:0; PCL:0; RULEID:; SRVR:DM2PR04MB669; X-Microsoft-Exchange-Diagnostics: 1; DM2PR04MB669; 4:E4xcpurreHeNEwkH8Wmc8xGx3YXiqX4KvctZ/2MI56vZRNOpHJP+Ub9IsooyAAevFcpMv3W6e/R2Y4C8BIG74L7YNH0Ko00aR03taDO3ELWJN0W8OvIiBijQ42m8VbNvLOrj6fEO5L902VDt8pQNdZ+mSl60wVUFUXMaUHz9SuqGajQgnk7yFcmaEaRXJK7b6OJaxAW02/jFDGWHfSchJseJwQQrflQhwRxmHyNmbUf4NmKocIAyHJHgrYGM+n4udHcZHum5eNRHQE2ygoXZvPAZ6Fn2BOtpZfUBdSCeGn4wnU7DE66107oi00ySB+2HOLDXhIpK/RALX2/bek/2XtNeeZjjUzZgiHRy7AAlHS7y6WgOjOo1aHSZVc4QpD9Ltz7im638P3ePBtZSWiquhXV5YFUcwIPAH6vpzVDkHl927vmSrzQnU+p1+CLRzUDVJZIM3vBrM5vjC4WGFx2XFs8tENi4oaPOScbxLZYcRO3J9W/wVG3iz+hpnEvRsYVQtw24mRxf6baf/S/D5fjqHa1cmeZfr+dw7HfHglc2sL8mgSH8st3KxxCGqULNe4obwHiuYqUaVVC0celmQ758w47VuI5GMmY+7puZelzhBKlHQ5hT9OHaa3oqcuzDMciFR5oqCRltCgU/EFxxGrvjBy9kDnGC8KbaMIMBFQgiTeYJnMOkm9ca6qp9Q2fI8Pnl79xl1VwRfNN5QHf2O0fns+W165/7vt+gWXpZFkZuqL5o8BD1GErjbroCFQK4gh7A+3H+9iv8CB+J1ZU87oQw3Nxmx2BAYfXx7yGpVtwELwm2Md2ZqoVUUbttF+wvj5uQK7A+fg0ra+dKsxMfgiAqi4gZcYtmb4630+ljK/PBxkc= X-Forefront-PRVS: 029097202E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR04MB669; 23:wgy2oToW0cWLV/XZK1b4IyWtnbJzSEoxbB+PGZ8ojE?= =?us-ascii?Q?xIYj63TR3TP2Knuj0gJOlUhge/4T8X2y9843Mc1OWwz3z18Ll05YQD27RRsQ?= =?us-ascii?Q?7Jubg6Bk+7ArHESY1WPW7KRMcE66w/9G+ly/1ooQqHOqrcfklfw2bJKuAmk0?= =?us-ascii?Q?Ahnu87sUjFxwJZ5vLJWLLITFLpgx/escbC/hCt9+GbWzRuyloBBWZzCZ15PE?= =?us-ascii?Q?JUdvRdSW9KIxLY7GXxWX/VYG3kIGF1y3nY548z2trQsVok92PtAKMhTyIfpm?= =?us-ascii?Q?g2jqZapIMael7OWx3fzJwATpE04lqqnQIrejqaGVC+oW3MAKt+oGoKASVI3h?= =?us-ascii?Q?yI9HD2glwFa1arERHClyHrL1kLrvLlH/q/bxIccqXYSlqia+ACXc6wRcIAZf?= =?us-ascii?Q?S8wc0beFiLQ/qNAx/BTrRcyXJhWWXB77kju0hg/4qcdD4LFvR8r1XPWd8gcG?= =?us-ascii?Q?zEbDbXj9M3dVCDT5QC1aG21iHzrhqy5XznN6wnRsmNlOQ6CvKYFvQGB8W95G?= =?us-ascii?Q?BvebBUoEk5o11s8lyDneilXPYJw6wTAgv7HtWlh4RNK4JjXGDEfHchDubTdQ?= =?us-ascii?Q?XbQz2QDBne9XLSZCWo2d/0CrnyTDw8BWGVSAPZKs1wYbfXhfxsfilw4dYtqh?= =?us-ascii?Q?9Q9okhemz9jTpzJVktceDbFsEZS8yyC9/mqRoSlkh3N7q+xvILv9DoH6ybAR?= =?us-ascii?Q?wJgr6zAYwjWbZjfdt40i7Z88aS9mm/uQx9HKeIeilic5s4uBi5IXnwBXF+Ck?= =?us-ascii?Q?/2AwbRXP+2uqtLNhF/v8TpdS3NBc+fNkc3bzvPTSEUJ1ezySyqpoQrIFgzCz?= =?us-ascii?Q?Ab+7YAIG+1q8UFyR8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a2sQidUGSkZxGBj1L4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR04MB669; 7:MU/UHaisz5SklEk1t7kz1wnOROxGv3NnCO7P5zsfAe7bRM+AE9EZkvNmURISMSuKdP2YtLIVniwHunjAcqsejb2QkGRx2UXAv7VCQsyRk3IFHvIomuK5N5pHiNuH2V/kfmB1O1T0JUoJApDQiqtEFW8Rn6bXOp01emHfL8y/595417gSbWhcmOKF/ijGeOfK5Vqz166eouNPsArQDOUD/PCOQ/dRzRr0sMrot7QdFisCXJ1iMkuuLpj1XiHd/ZSjiEd/LqlZhZ16dm642+b5BZYJBYXBJ4fo/6+LW47XYCE3kHiKqabmnUEDOYEPTEn+G1vLTuh4qH0Ip9gyXsUDtA==; 20:jokmvbWmgFM4f1zJoA45Z2rcnkwQVFCuW/ubVGicgpXco14Dzn0P0EavHVFEg9n33p0+p0/my5XaxAETsXnFF00fxwJyDhXhZX7oxEskIPrwbHkbMm/GXp94V1lp7luMIsmHQCnTCFa7HIHeILxRIMXwioqDTu1PO2HyPen3Q5U= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Apr 2017 17:11:33.6524 (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.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR04MB669 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.26]); Thu, 27 Apr 2017 17:12:05 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Thu, 27 Apr 2017 17:12:05 +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.26 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: dm-devel@redhat.com Cc: Bart Van Assche , dm-devel@redhat.com, Christoph Hellwig , stable@vger.kernel.org Subject: [dm-devel] [PATCH v2 03/13] dm-mpath: Delay requeuing while path initialization is in progress 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.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Thu, 27 Apr 2017 17:12:40 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP Requeuing a request immediately while path initialization is ongoing causes high CPU usage, something that is undesired. Hence delay requeuing while path initialization is in progress. Signed-off-by: Bart Van Assche Reviewed-by: Hannes Reinecke Cc: Christoph Hellwig Cc: --- drivers/md/dm-mpath.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index cc41e34607c3..d739688246a0 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c @@ -322,13 +322,16 @@ static int __pg_init_all_paths(struct multipath *m) return atomic_read(&m->pg_init_in_progress); } -static void pg_init_all_paths(struct multipath *m) +static int pg_init_all_paths(struct multipath *m) { unsigned long flags; + int ret; spin_lock_irqsave(&m->lock, flags); - __pg_init_all_paths(m); + ret = __pg_init_all_paths(m); spin_unlock_irqrestore(&m->lock, flags); + + return ret; } static void __switch_pg(struct multipath *m, struct priority_group *pg) @@ -485,7 +488,6 @@ static int multipath_clone_and_map(struct dm_target *ti, struct request *rq, struct request **__clone) { struct multipath *m = ti->private; - int r = DM_MAPIO_REQUEUE; size_t nr_bytes = blk_rq_bytes(rq); struct pgpath *pgpath; struct block_device *bdev; @@ -504,8 +506,8 @@ static int multipath_clone_and_map(struct dm_target *ti, struct request *rq, return -EIO; /* Failed */ } else if (test_bit(MPATHF_QUEUE_IO, &m->flags) || test_bit(MPATHF_PG_INIT_REQUIRED, &m->flags)) { - pg_init_all_paths(m); - return r; + return pg_init_all_paths(m) == 0 ? DM_MAPIO_REQUEUE : + DM_MAPIO_DELAY_REQUEUE; } memset(mpio, 0, sizeof(*mpio));