Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1368387pxb; Tue, 17 Aug 2021 10:01:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywwQM/GUJYtXLQIYBEi/nOIvyVEF06EjSUlEbn4bD4Vzsoe0+w1R6i6xwUV6RdcLjxbB9z X-Received: by 2002:a1c:f606:: with SMTP id w6mr4474656wmc.42.1629219717790; Tue, 17 Aug 2021 10:01:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1629219717; cv=pass; d=google.com; s=arc-20160816; b=JG5HMA+RT0uqP2uHEifZwi4Iq3vNC70sAdES/nuwOoqTAfgHphPO2sa+YKaC1LWoWV 70p33aiPePJZeWJfEDUqJoI4C8mU7HHTNIWDWyyxJKERsxIGUzkM8GbJv4DmAIFYbHC2 v78ggz4XL5Himt/jLdBxHeFD0TgTuhkjPFTkDHX3socVMMJvd5KcBOuYzEUyvZxrtkX7 1l+WrZVhRbqp3rnjiwq9bqPn+1rLIeir8B2O15lLjk/SybsNgVcdERv2yTy1k2xjZzO0 uE6i/jYa98s/QjuxpPfm4WHEZg+0FzziVLeOB9lTFSvZ/UFetfboI/fpdnj3DoCzAQb7 wl4Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=FG1z1O18LyD6bjZkCHZWVxn5cF+SU1hR05jKvkHOCJQ=; b=JHJ4W72WGngAbvAjdEsDlPQGhiF+i5rkPGARs8lpt3g/Z70uDRfQUSpkZtP7E30aoP 3RTXCFofoITCI3RibOaqFoZY24+E/X8I7oekOHRzrvq+a+NtmaO4o6bKhwT9YJ3cgb9h e4qzeVH0ftnMSSVNOpIDa02G6XnM4eR6zY9L1IYmkCd+FrIbGw2eipO0x9F9nlb4T0Vy wLalzhlqM2HwQc18NiKR+NHebRZg2Y2ialwXFJHOVwWUyhiGnEaQzHwBHYk/q5L43uFW VKx+7IEflUx2OrSh3KeXiAUTQHYWsLD7aKOIZ0QxW9Entl13YeIag/ibMNeYbnNgabmL MP3g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@netapp.com header.s=selector1 header.b=f76qNBay; arc=pass (i=1 spf=pass spfdomain=netapp.com dkim=pass dkdomain=netapp.com dmarc=pass fromdomain=netapp.com); spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=netapp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d12si3200341edz.79.2021.08.17.10.01.14; Tue, 17 Aug 2021 10:01:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@netapp.com header.s=selector1 header.b=f76qNBay; arc=pass (i=1 spf=pass spfdomain=netapp.com dkim=pass dkdomain=netapp.com dmarc=pass fromdomain=netapp.com); spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=netapp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230420AbhHQRBU (ORCPT + 99 others); Tue, 17 Aug 2021 13:01:20 -0400 Received: from mail-bn8nam08on2067.outbound.protection.outlook.com ([40.107.100.67]:35169 "EHLO NAM04-BN8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229699AbhHQRBU (ORCPT ); Tue, 17 Aug 2021 13:01:20 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jBFOxMkKfRx3vqgT+9hSVyFBUJffJeiCXgx+CZpp/4DS38BtD6jMcCz6uSEUSvkO6LpRQZnU6NWcU4JHU0LsAQzklrL5OZKp1lgfEkDDFuSEjfEjp3cOhASCJ7H78bYpU278YiTjzmolEYJpU0qBrd7nhA4bYVQjAYy+YWQMtsIiYnQTvd/VqCSetGPv4j2Yv761kfQY9eH3kpuzI5aTyAjVQdtSQS9U8vB8/vs+2T8ZZrNdM+g7C9T5pKF6Tmzc5boabt1CkslX3zv8M8z3bxrINkmTb+xNKA88sk+jECLoXqnI/23fZQjSuxeViAWFN7pBMkS+TT29wsziwC4aUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FG1z1O18LyD6bjZkCHZWVxn5cF+SU1hR05jKvkHOCJQ=; b=ZlA2OERYm8OPFnIBjC+O5EJXbyU+ZMcLS9VVqsjj3d56I3y93TbOJ9hb6btoGiW5gccQ1tmpw5StBpugCMBpO9ZmlSzr3h2By+allv/NCnA/SMJggKREiq0z6Wv0Wk9XPIKuVcO2R7n3aRjZ9kutBIXHx8B5kA4ADKTsnAf4XJ0scSvRn1LJ10x/VUIUjuUy8DTj1FdG6t9t+BNuuly8mIbAhjI8cOF5r7uNWRrz2hff7v4k8Nhy/nj0aXaIlsavaHfC8XQrmCeEVnT2NR3CX7lOUeAVnccVYRMc5qxp8C1bcqO/PUY9x3DBMXngdvV8BaMsqtTY3Mco8JAWMhHWhw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=netapp.com; dmarc=pass action=none header.from=netapp.com; dkim=pass header.d=netapp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netapp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FG1z1O18LyD6bjZkCHZWVxn5cF+SU1hR05jKvkHOCJQ=; b=f76qNBaywFP91USJtVMVGbEl2hMiXBVOR7rRXaa92N3Wwyu0M5MZtCCfjL/g527PJCRVoyUV6Nz52a1FNzJgpVGdVYRceKfNCaOCAai03H7iw1ezbzVlW1Aeuunib0f1XsjOWPinYvAh5jS/OIlT8jGB8G0hdFtfJFe877NBIguMpmOEtJ+lNUFoK3cXyXi6jPJNoTVrYr05LG4qcNbHvpm8QviDYEogDWoFzeNzXk4uM467YlJZ0NY+62sWLg+IfNjcIm5y/H2H8mkgOWrbMET6HBHuLwK2uOckv76AT4Qr8Z50Xzx+ZgKaTJ93nzfDO0XblZplk4ildZaj5qyy7g== Received: from BYAPR06MB4296.namprd06.prod.outlook.com (2603:10b6:a03:10::20) by BY5PR06MB6625.namprd06.prod.outlook.com (2603:10b6:a03:23d::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.14; Tue, 17 Aug 2021 17:00:44 +0000 Received: from BYAPR06MB4296.namprd06.prod.outlook.com ([fe80::7d63:de76:f951:c981]) by BYAPR06MB4296.namprd06.prod.outlook.com ([fe80::7d63:de76:f951:c981%2]) with mapi id 15.20.4415.024; Tue, 17 Aug 2021 17:00:44 +0000 From: "Mora, Jorge" To: "schumaker.anna@gmail.com" , steved , "linux-nfs@vger.kernel.org" CC: "Schumaker, Anna" Subject: Re: [PATCH v2 7/9] nfs-sysfs.py: Add a command for changing xprt state Thread-Topic: [PATCH v2 7/9] nfs-sysfs.py: Add a command for changing xprt state Thread-Index: AQHXiwAjN0reBtMdKUWkrdSIE5zWa6t3mD6A Date: Tue, 17 Aug 2021 17:00:44 +0000 Message-ID: References: <20210806201739.472806-1-Anna.Schumaker@Netapp.com> <20210806201739.472806-8-Anna.Schumaker@Netapp.com> In-Reply-To: <20210806201739.472806-8-Anna.Schumaker@Netapp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/16.52.21080801 authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=netapp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 56532c45-4248-4688-3252-08d961a08d63 x-ms-traffictypediagnostic: BY5PR06MB6625: x-ld-processed: 4b0911a0-929b-4715-944b-c03745165b3a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2733; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wZa/DUVIl/r+d1KAS6Rw8fhNessHWnw8s6ucWB5tKsU7exwZqHBfFHY4U91bjU2FsrvVL3Y6LYeL0MkvymvdFSmxVpQIKJ8jsmcyC7esfqIBsRfsNWrTLgjMf2rp/Y8EwHnvPL1pMMqepoTHv2nZZZEJ9dUtfRTF580J5GqgAFSe2YIqwCFn8yiEtgJBmGKdsEEmL8NJYBmna91hAnq9pIicaVUanDoSElz2dPNL37951JP5euCQPh+NsexXhjJVl/yZRcZPv3IgQpLPB4KZAEIbkCQGM0KGPJ0527Km194MdXCwZJYVM9ZtDahY2ckNTdFvRoxU+bn92u3B6Qx5IZFfefPp6YI7rwvaDR6YDGyvhTHQYbrW2g8WDkaTfVpSEpb9qx0hmyLt67MlRUYAuP7Roxmp67qxuarFn0MiesTJLXbp+7oLV6+A1RTqU/jKYFifT4U+XTkw/yKnWkE/IwCKoGHy72nQDHghoUaLMG3fgWS64dboPFyrxZCjKRbgxFm4HvWQCzopwAzA5fx82PoOfbd8yz6OnTHfQO9qsrGv763fBl4lUViyPe5NQ8zW2ZW9+MjDba1yfUNIu+LFfipg83bK5MYoWepFadXhS6VfCmgGsmEZdL9lLGXcUxk6sCfJwoswAxJLwI6tSAAltvjpakHIyhj54YNVAs60JJ4t4y9C3YFk7IwcJQ/p7itMNxcG9TFHatDRlNjiHnK5yh9IMddsspfiMkAv3RoNslRMf5Y6B6siJ/Eag+AXNU5t x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR06MB4296.namprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(346002)(39860400002)(376002)(136003)(366004)(396003)(38100700002)(6512007)(122000001)(66946007)(110136005)(86362001)(91956017)(76116006)(6486002)(33656002)(26005)(83380400001)(2906002)(186003)(66476007)(66556008)(64756008)(66446008)(6506007)(316002)(2616005)(5660300002)(71200400001)(36756003)(8936002)(107886003)(8676002)(478600001)(4326008)(38070700005)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?cDhwYjl2cmJWWDArV2h0WlRITUs5dUthOWNmM0NXSER3akk0QjVuTVk4UzE2?= =?utf-8?B?Mm91Q0VxOGxxMDRLOGExdzd5cmdYNXlXeHJ5UUdWYThDVVFlNjhRcDVydVlr?= =?utf-8?B?WnQrdTI4U3hhaUptaFBUWFUvaEV6TFNBR0p6M2lIT2FLVFpIbSt5K1JCS0hU?= =?utf-8?B?aWtUSVNLSUlqc0RvTWN5RjJUYWxLSjhQaFlTWGhoVkhCdkxOY1Y5UzFndXFJ?= =?utf-8?B?ZGlNbWFFb0k3aXR1QnQrRHNzaVBHQnF2T0NIajMxUXJLejlLVXhlc2ZYV1JF?= =?utf-8?B?N3dtdzlrU0h3OENBU3JuS0g1OFNyNGZYWVM3R3YxYmx0NmNYblRVYkxTK0Rj?= =?utf-8?B?N2g0UnpJUktHVEd6UElvYUxLcnZRSDJORDBkWFl3N1NmdGhHamcyTkwrZFA2?= =?utf-8?B?UGVRMG5pZjBxbSs2b0duenBCQnpmZ3ZLL0JoRG1DSFJmOS9hdks1akl2b0pa?= =?utf-8?B?M1BOS2pGR2kyUXlyNUxGcEowbW5ZMGIzcjdwd2hTWlM3L2IxM2tkN2hCR2RT?= =?ut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lrNE0yaU1V?= =?utf-8?B?U1RnYzRMTWRkQkVXZXRVS2xmMGFaWndpaE93NndOSk9hRU5nZmZzWXg1eEdx?= =?utf-8?B?VFpPVGU2OWFQTEh0NEFpRkxRditrUDFWOVpoQUZYbWM0bWtyaThua1FJWE1Y?= =?utf-8?B?M0RRS3ZUM3FrNHZZMGM3YlJKb3o4d3lOTnV4WmU1akhDWFRuK1czRURkNFBo?= =?utf-8?B?d0RNV0VlWHNHbVZmSW5LenBTekJzaGk3NHo0cUwweE9TLzBCd0luMzFhaEZK?= =?utf-8?B?QWhUU055cjVNNDZRa1dsdFFSTzFNK2x1andEakpVd09SVnowRWNZaGFaWDhq?= =?utf-8?Q?y0KkZ0tTSI47hStJtIJsFUC++T2YgfSWzv4XLdR?= Content-Type: text/plain; charset="utf-8" Content-ID: <5D6A741CC3FBB045BAECEE3ECED14758@namprd06.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: netapp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR06MB4296.namprd06.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 56532c45-4248-4688-3252-08d961a08d63 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Aug 2021 17:00:44.2856 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4b0911a0-929b-4715-944b-c03745165b3a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ZDP14Ra+Y05cTxnb+qNu739RkIZfE8kyUquO6A2kbs70wdoSVNNZiBZMu+L8gCq5 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR06MB6625 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org SGVsbG8gQW5uYSwNCg0KQ29tbWVudHMgYXJlIGlubGluZToNCg0KLS1Kb3JnZQ0KDQrvu79PbiA4 LzYvMjEsIDI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mV4 aXN0czoNCiAgICArICAgICAgICBpZiBzZWxmLmV4aXN0cyA9PSBGYWxzZToNCiAgICArICAgICAg ICAgICAgcmV0dXJuICJ4cHJ0ICVzOiBoYXMgYmVlbiByZW1vdmVkIiAlIHNlbGYuaWQNCiAgICAr DQogICAgICAgICAgICAgc3RhdGUgPSBzZWxmLnN0YXRlDQogICAgICAgICAgICAgaWYgc2VsZi5t YWluX3hwcnQ6DQogICAgICAgICAgICAgICAgIHN0YXRlID0gIk1BSU4sIiArIHNlbGYuc3RhdGUN CiAgICBAQCAtMzEsNiArMzQsMTMgQEAgY2xhc3MgWHBydDoNCiAgICAgICAgICAgICAgICAgICAg IChzZWxmLmJpbmRpbmdfcV9sZW4sIHNlbGYuc2VuZGluZ19xX2xlbiwgc2VsZi5wZW5kaW5nX3Ff bGVuLCBzZWxmLmJhY2tsb2dfcV9sZW4sIHNlbGYudGFza3NfcXVldWVsZW4pDQogICAgICAgICAg ICAgcmV0dXJuIGxpbmUNCg0KICAgICsgICAgZGVmIHJlYWRfc3RhdGUoc2VsZik6DQogICAgKyAg ICAgICAgaWYgbm90IHNlbGYucGF0aC5leGlzdHMoKToNCiAgICArICAgICAgICAgICAgc2VsZi5l eGlzdHMgPSBGYWxzZQ0KICAgICsgICAgICAgICAgICByZXR1cm4NCiAgICArICAgICAgICB3aXRo IG9wZW4oc2VsZi5wYXRoIC8gInhwcnRfc3RhdGUiKSBhcyBmOg0KICAgICsgICAgICAgICAgICBz ZWxmLnN0YXRlID0gJywnLmpvaW4oZi5yZWFkbGluZSgpLnNwbGl0KClbMTpdKQ0KICAgICsNCiAg ICAgICAgIGRlZiBzbWFsbF9zdHIoc2VsZik6DQogICAgICAgICAgICAgcmV0dXJuICJ4cHJ0ICVz OiAlcywgJXMlcyIgJSAoc2VsZi5pZCwgc2VsZi50eXBlLCBzZWxmLmRzdGFkZHIsDQogICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmIiBbbWFpbl0iIGlmIHNlbGYubWFp bl94cHJ0IGVsc2UgIiIgKQ0KICAgIEBAIC00MSw2ICs1MSwxMSBAQCBjbGFzcyBYcHJ0Og0KICAg ICAgICAgICAgICAgICBmLndyaXRlKHJlc29sdmVkKQ0KICAgICAgICAgICAgIHNlbGYuZHN0YWRk ciA9IG9wZW4oc2VsZi5wYXRoIC8gImRzdGFkZHIiLCAncicpLnJlYWRsaW5lKCkuc3RyaXAoKQ0K DQogICAgKyAgICBkZWYgc2V0X3N0YXRlKHNlbGYsIHN0YXRlKToNCiAgICArICAgICAgICB3aXRo IG9wZW4oc2VsZi5wYXRoIC8gInhwcnRfc3RhdGUiLCAndycpIGFzIGY6DQogICAgKyAgICAgICAg ICAgIGYud3JpdGUoc3RhdGUpDQogICAgKyAgICAgICAgc2VsZi5yZWFkX3N0YXRlKCkNCiAgICAr DQoNCiAgICAgZGVmIGxpc3RfeHBydHMoYXJncyk6DQogICAgICAgICB4cHJ0cyA9IFsgWHBydChm KSBmb3IgZiBpbiAoc3lzZnMuU1VOUlBDIC8gInhwcnQtc3dpdGNoZXMiKS5nbG9iKCIqKi94cHJ0 LSoiKSBdDQogICAgQEAgLTYwLDYgKzc1LDEzIEBAIGRlZiBzZXRfeHBydF9wcm9wZXJ0eShhcmdz KToNCiAgICAgICAgIHRyeToNCiAgICAgICAgICAgICBpZiBhcmdzLmRzdGFkZHIgIT0gTm9uZToN CiAgICAgICAgICAgICAgICAgeHBydC5zZXRfZHN0YWRkcihhcmdzLmRzdGFkZHJbMF0pDQpKTTog RG8gbm90IGNvbXBhcmUgd2l0aCBUcnVlOg0KICAgICAgICAgICAgICBpZiBhcmdzLm9mZmxpbmU6 DQogICAgICAgICAgICAgIGVsaWYgYXJncy5vbmxpbmU6DQogICAgICAgICAgICAgIGVsaWYgYXJn cy5yZW1vdmU6DQogICAgKyAgICAgICAgaWYgYXJncy5vZmZsaW5lID09IFRydWU6DQogICAgKyAg ICAgICAgICAgIHhwcnQuc2V0X3N0YXRlKCJvZmZs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