From patchwork Wed Apr 26 18:37:18 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: 9701853 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 EC38A6032C for ; Wed, 26 Apr 2017 18:39:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DFBC6285F2 for ; Wed, 26 Apr 2017 18:39:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D420A28602; Wed, 26 Apr 2017 18:39:08 +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 A16F1285F2 for ; Wed, 26 Apr 2017 18:39:07 +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 9E6A3C00C103; Wed, 26 Apr 2017 18:39:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 9E6A3C00C103 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 9E6A3C00C103 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="enzG9geY" Received: from colo-mx.corp.redhat.com (unknown [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 782C618100; Wed, 26 Apr 2017 18:39:06 +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 3A3B35EC67; Wed, 26 Apr 2017 18:39:06 +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 v3QId29M015296 for ; Wed, 26 Apr 2017 14:39:02 -0400 Received: by smtp.corp.redhat.com (Postfix) id 88185932B7; Wed, 26 Apr 2017 18:39:02 +0000 (UTC) Delivered-To: dm-devel@redhat.com Received: from mx1.redhat.com (ext-mx06.extmail.prod.ext.phx2.redhat.com [10.5.110.30]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DB2A9932BD; Wed, 26 Apr 2017 18:38:58 +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 4963293302; Wed, 26 Apr 2017 18:38:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 4963293302 Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=sandisk.com Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=Bart.VanAssche@sandisk.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 4963293302 X-IronPort-AV: E=Sophos;i="5.37,255,1488816000"; d="scan'208";a="109912383" 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; 27 Apr 2017 02:52: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=72QRbaZxQvXbP6GNRlNavtbts3pdGykXcY7/hq1W5vk=; b=enzG9geY8dWLKKcHVvGTXQQKP/24MvUEAmFx4UbyB+3iVMoSGks1rBKuTKZEjjd9bRxsK/hJrxu0jRkB2wTLvAN44Yoxb9rOK+CtL4pBI8whBQl4qT5OT41bx2kUHJ1hLtnPZzsJk6XR7g/RyVLB76qxWjYxFKcLdOAbsm+79GU= Received: from BY2PR04CA062.namprd04.prod.outlook.com (10.141.249.180) by BY2PR04MB885.namprd04.prod.outlook.com (10.141.218.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.13; Wed, 26 Apr 2017 18:37:39 +0000 Received: from BN3NAM04FT016.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4e::205) by BY2PR04CA062.outlook.office365.com (2a01:111:e400:2c5e::52) 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; Wed, 26 Apr 2017 18:37:39 +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 BN3NAM04FT016.mail.protection.outlook.com (10.152.92.161) 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; Wed, 26 Apr 2017 18:37:35 +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 CD.DD.29323.EE8E0095; Wed, 26 Apr 2017 11:37:34 -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; Wed, 26 Apr 2017 11:37:32 -0700 X-AuditID: 0ac94369-548749800000728b-b6-5900e8ee1da9 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 67.6C.18148.CE8E0095; Wed, 26 Apr 2017 11:37:32 -0700 (PDT) From: Bart Van Assche To: Mike Snitzer Date: Wed, 26 Apr 2017 11:37:18 -0700 Message-ID: <20170426183728.10821-4-bart.vanassche@sandisk.com> In-Reply-To: <20170426183728.10821-1-bart.vanassche@sandisk.com> References: <20170426183728.10821-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrFLMWRmVeSWpSXmKPExsXCddJ5ke67FwyRBmtPq1rsfTeb1WLBm71s FitXH2WyaNv4ldFiwcZHjA6sHrtvNrB5vN93lc1j/ZarLB6fN8kFsERx2aSk5mSWpRbp2yVw ZVy7KVewl69i8acjbA2M/7i7GDk5JARMJJ7N38fUxcjFISSwlElix64HbBDODkaJr4cb2GCq th35yw6R2MwosfvhXSaQBJuAkcS39zNZuhg5OEQEVCVuTXMBqWEWWMY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e9fnyD6 q/tHjhJLcUaioRZzUXEiAJfFFC+8AQAA 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)(39410400002)(39840400002)(39400400002)(39850400002)(39860400002)(39450400003)(2980300002)(438002)(199003)(189002)(9170700003)(47776003)(48376002)(50466002)(2906002)(81166006)(53936002)(8936002)(50226002)(76176999)(86362001)(33646002)(2950100002)(8676002)(38730400002)(110136004)(50986999)(4326008)(305945005)(106466001)(6666003)(6916009)(1076002)(54906002)(36756003)(189998001)(356003)(77096006); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR04MB885; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN3NAM04FT016; 1:y1QzHWcLdE8sJqGYni4OS8mEPhQ+hQc88eElKqlBnCgGJjxVGgDZVuh3y/XHGDQY1s22RuBmhwwWxTgXJDQy67g7xcmnQmM+/39xAFQeSFk6ni/qooUW/Jpcp6O/nyrJlZMZQ7MbrhpCLFCh4Ttdp5W2KehdP97G8rK4oAzuMwprkvrlCiwSFBjJ/ys0OpQIMoYhqUNtNMopb4PHR8aRqd+SUAnq1C37cIThigQBxk5BXfacZwv2RwgV/qi04FAAc7O/GIf2e0JkD9lDlf2NAsZLhUFi01acXwZN0naJhWlcNE2SYQtBAgr/Kk5Y4PR7t9NzU41QfrZlMYPkdN2aqIk/MdYsQ7FfdjMN83oCR1Hn0fKX5Aq8RULy81ZEzaeQAPtRqzfHFaOraHAI55xaDYdzmplgCuhUPlpic/bJWjMnfEKXx9283i85ftk1lj1SfLPn3qbGhK07c/o/SjN1Eyz2VVpVqUpDHwIicQk+rr80ZHWpPtaifGEeMqBtK5+Z X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8f8db8ba-101a-411e-d036-08d48cd350dc X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:BY2PR04MB885; X-Microsoft-Exchange-Diagnostics: 1; BY2PR04MB885; 3:YTktauVpIMXJeOCwEp+4/UaAhMECKa3rXwS5uT2PFk7cVqUgAvHHRayz9IgsjPMJagoU3P4Th15nDArwm61+BcXgh1DMd4jwV+q2GlL03WVJqCe5ors3nw9cpETqz/8K0JG1jvf9aWzd43tL/FGuRhspKdX4jzhd8N+rIKs8c/z3lZVDuUYZyFOS3LhLs1yxnmjJs7NDXCgsMs/5tW8kxX/OQChz8mTkjr+5Iyu+2L1Bc5zZxGsQb2dYrZ/3XGrWWyl+/EtsO6/8DIIhIN0M4cq7ltQNJos/9X5K2wM+w9G0IOhy9Qkj0ZdZFVs+yrftC57kIJjpHaiB1PSFhRW4LomCrC77mqWz/zFPw+XFgI3tJFNQvunHHV1iv+lMwTuxGceoe050W111rkgNzKiFjDe/b+suyvRzWzT37VpZDaK7E/sDaWu5un1LIcsxOcQA2lasRKTDGZ/lOFNfqBybha3c72HsX0eZvSthOD+5IwKLtOegQI4ydApcYhiPMPTz X-Microsoft-Exchange-Diagnostics: 1; BY2PR04MB885; 25:62JsBM5+D87Q/IikM5veIB3GGwITYT2vXtDu+Szm1PbakcR86MZ221pH7hSOmN3VqN+QEYNaNfN3Fj7YOojncSa8IsqIhxth3LfRRpgVU44n6gjM5Q9/D8A4aRCmRvECvn9O2mdVLfzLyeZJlchkg4qOlYGr7N8yskBn8GtZi82kl28IWTQQHAv8MzIYdMxAZyMhgCYUIiDGAM9rUOB9sqtumZHl2PlxKP0XGE52KjnVxuXeb035er7Mhp72B0uVrucxao3BYMVU5uXFGthMHErT/y7Lh5Mq3EqZhpY3kLbUvQk8FtJUrdDvox6MaCWTzfQmqSDAAkKr9PhbfJKVuSfkalZ2pXsZiJAkMEBvV8DAOkiIO6bltXgZS2H5aqbChx0cawQytWOYbEv6fqyxAnK2iBexLFbdxBahhWpYN/5GttRapiOIJuzE4mTxvPPFuDAC52RIUltmcmHdKzg43A==; 31:ULd3DI5GUWmSgDmPP1/lP40aW7NQjr2Hi1rwrwQx8cqfNU06t9QSvcKOkNSo+V7f3o6T7A9xt6dPL/CkKNqIyaRfGBEsdLVb9+WYgyBDNvgUBapA+6qnv/ro4RErtmZIN7Gp/Mt53Cc/319oZpt23U7bSSk+WsQ7G8pu8SWbbXiZlaasNT8NFeQmFOYwUY57dCEvTZMDGLYoJ1jY/4VQa5Dnx4c/xImsPvyixoFEtHbkfMp9AklfF+LjE9sNLOFRrJ1f44guFObhhCDVzKbZxA== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; BY2PR04MB885; 20:pEXdMkkm8SKTfkw4D96lhxGwf3CueIc7VTQG4IQzJFc9KWyZCRPEOzX+NVDdrDN5a6jIkihFmh+RUtHrJQKjBn9POF70RIAcxwj7V1TyYrtXOqt2Ct5j6VwO6VO9qwmHTjqmOAUmwGcoE7a+WyJ0GG5Vw4YAOvxdS9z773Wx0U4q06/TeEhpGs2PDQ2cTwTBvlZJ6Uj9Y8xVA08RzSXBy2AbJGRcMnGzAuNiUU3E3nTmVNsJ34sDS+M1dc50DayrLAl50HDtnLxYrol+SMuj75bU+CclGZWaw/EnKrGx5VJ0uoreJuXlX4dPnORPcx49n6Odq6uJyq4O6J4GTewVpydCWAW0xlff8BrXKSr7qtOyWmoQPnh/zL+x/e+kPO4Du3kyfLKQc1nUsSvIhZJytkklvDBUk5p8o6iYIV/gsZ0zxA6RX+H26m2EntRi3k/YneyawnG9bdYsNv6UiV0tCepPZhMarrXR9BJ8Cs+emgtBUQ+3+hnOSHup37cznUM/ 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)(5005006)(8121501046)(13018025)(13016025)(10201501046)(93006095)(93004095)(3002001)(6055026)(6041248)(20161123555025)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(20161123562025)(6072148); SRVR:BY2PR04MB885; BCL:0; PCL:0; RULEID:; SRVR:BY2PR04MB885; X-Microsoft-Exchange-Diagnostics: 1; BY2PR04MB885; 4:tdVBJ3uyP5huNECQ2nG5pHGzWRAuB3jaC2dtkqMUfp4H5MKjoGJyDvKSxRLEHdXveJWdSlMiEycj+MeM+3cW8k1j9BxqcKos3876ReK7rlgEG5uMj5XFKT7f/AsLeAEm5NhdlCPl5ZXtGSxDCwMurKnc2rPieVwhOOBoDDJjcQai7gOQezuMSXALtEgM1kKRXOVPA4FZn8qDdpxPt29b64rYB7JkI1VA7WPvZGyFNlebdqZeVEwY3EOIZTKfxOHEGjiC2EXCrtMG7kDEGCUe1tsQAJocY6semkEHCrj8EeUX/ZZi1srG6ULA60cpBSAnDidtb3q7tWadfuMqFoeiL5DaynatdosI8fFCtXf1SkjE21hBXUTbN7llYJwGYPoi1jriIJP6OLYZUrfKiyquXF5eGwGRWDLh5waFV0uOCuU+KDLi5VKUiOzYMUwjTBB77hKrpxYMH8nP1Ir7AWtpEqeO8TGhc8m3vMAiWr+4R8WTUlF9Ih+XWPQT/ZYHh+erAjVak3IndUvICg86uL76FCnwHVBc5LmR0UVYtL/TmEDKglzgWhSNT7LVSzSAJ/Cjp9hM+qaBPZUogB2XH4uqEuAMRESVVP0fk+3HjpFU150fJq8lWpf35v+5AJn5ApYFgN/wsyT4HJx5S26h0fzwM0AgqXuI443XV9c6U3/aOhEh3kybSCbQ1uAm3fd7BHu+0N2M2cK+rY6KZujqoJD+RK159HVAHjQQppvFE7lBBabIr5BwNHkHxQj9UYUflvZYFQybp+RCy2M2ekX4cpUEadWzlPt3znPkBM+n/3xG2nebO6gJw1fClN3+nbzNRTn9/Iozqzi3MhCwBGCyvmDttEyVEjZhcmOKjcE/wISWYew= X-Forefront-PRVS: 0289B6431E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR04MB885; 23:M57Bfy5/LUXQDWF56nsgawIAJUkT9ZHz5mkD2pYjB5?= =?us-ascii?Q?GvNLtGPBM4q4+8ihccKfjRuoGQz8BqUFycGEbXNkDzzbC45uHCaepqijIiUB?= =?us-ascii?Q?XuuT/zrQbhvNGtdi4RBnfJ2y663+TEn2vFkMqPCLEboAI2iv7yG01BJq3LLV?= =?us-ascii?Q?nTcNiW546qQH+R1IZxnVmc7ELQ6PsTf3fXSkIxv1b9m729vuFoCMTuKUgSH+?= =?us-ascii?Q?52BMvo8oCadV+P5T1vpd7G0T5OoSwOF8i2fzWXX6FL+zcYAfl2ozScMAtInh?= =?us-ascii?Q?IF40Rs9ALv6OPwdM1OLPbGYbpEXmFf0SEZzZJODGsGuc5NHTsxL76xedH+7j?= =?us-ascii?Q?gpiCTz9sVXYfzBghtxx0sm0La4pyn8fViEM1QRbV269iD0rsVb6JQN7HAvSm?= =?us-ascii?Q?2PnPZRJbS2comhVXqmiQMQXNtfMhcnSXU2P6dTCzdpGAYWIohsZs4BGsQ2ZN?= =?us-ascii?Q?I/kaiMHDzxF5S3MOkvkMCGatU545lPatba+wx035FEDo7Emse073yrEG+aNJ?= =?us-ascii?Q?MUtt8tj+iZOPMGqKaUdXS1BYz7fW/Y/a7Fui0QqVV/psAN60k4QBAnwK9eLE?= =?us-ascii?Q?JTBAmcYlorJekWvSY05T4gXPGj54awCE+8LsYOjv0gEbwTkHZ9t18iqxpM5L?= =?us-ascii?Q?mpmlz231ol9cn0fY9qF6I+gTRgkatfMUUiL4ZVTNkELWJP/a8/8KU3Oph81a?= =?us-ascii?Q?cNO18iMEPshDE1YaVEsa+WXI43I6z8PhA5lWtlxAx6fWAR/kw/qFJgmOF+cU?= =?us-ascii?Q?wmnaayEZUvWkaZCoTDqQrsY3QHmBdsvFMR4qWWbr8a/59JLqkSZyObCbLTIC?= =?us-ascii?Q?xswF+bkUSY14/Hq/qucWpG5Ku+IZEpLQk0iAxFx5h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Metadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR04MB885; 7:t9DiI1X2MhGACVXkxmGxkmVs8PU/n580I8pgDreBZUUvRedXKdQgNV1Ymq8eGqcBz+YS8THZdzL90w30e4FKYAF9RbiXCaOFpm72zzK410MMq9UzKfarpsVDXhXtHHdQfqELdNX9g5aAM2os9CS2ZwTP1k79B2C29bA8sbieIeKgZh1awjjablfXTTOoCvfChXLaLjsgyKo8Pgp8OYa2svwUySQHUHmoGx3y7GOGbW30vRao0HMuwUmWKriegwXgzDA8JMLOpbEen5gTtpKc7UqT/LKWVhJ24EPVrKQjpzlm+FMefCB/0hQCFy4xdyvyFYiu4BSHrlKEt9emgNjR7A==; 20:XGbYJJor3c6OZrcgjfoWGNyYp2uXIBtgCfCLlZrlsc8oNYtaRV7/uPr0bX/UrZgbOIhGExEw09DFvxFI4L6fyoJ2M9Hp9M/UjHEbvsoP9sFaJp+DUpYvy/6bitqqAupKRqbNHIDORF5EKxvzmU0cIePhb04y5BUyN7a+IMwIp9k= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2017 18:37:35.7585 (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: BY2PR04MB885 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.30]); Wed, 26 Apr 2017 18:38:36 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 26 Apr 2017 18:38:36 +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.492 (BAYES_50, DCC_REPUT_00_12, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_LOW, RDNS_NONE, SPF_PASS) 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.30 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 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 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.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 26 Apr 2017 18:39:07 +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 Cc: Hannes Reinecke Cc: Christoph Hellwig Cc: Reviewed-by: Hannes Reinecke --- 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 6d4333fdddf5..e38c92178746 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));