Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1458412ybe; Wed, 11 Sep 2019 15:30:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzIwWfb8ih+Io2t03I9fG3I4NWLcuJkkI8HyzNjGyb7l5NPfZan3rNMPBH8sjO3io7NG1CZ X-Received: by 2002:a17:906:d216:: with SMTP id w22mr14520869ejz.14.1568241016075; Wed, 11 Sep 2019 15:30:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1568241016; cv=pass; d=google.com; s=arc-20160816; b=FVB+mPTQqnBmergXX/VbAMLFngrEyW6JhEjXFJ0iMYgetQHyQ183qcSKADnO0uUYK0 ePo5ehv7P/uUwyfRy5YbPvBh6KHtJLEdGpIfKN2pGzYDVfyeKdPb6LFJIC7zxlIl7luu a9AD8eHdspXyrVJS4IE9eYi5DGHtSo/dki1AV35gK6IP4EDUhS1smBp076M0fN+lwen3 3ZSawgOIfTeoFF7QAARrUiHJ8p8cxJEJTDTdjrSFhAsvTxrDwP9RRgJhPMP+A62IdUAJ O4Aq5iPjd8D7SMCeeg+8JqXAyGEXzgkGaYZvz3iscv8Il7t80l4JPrJQK588WFobdTdY KK+A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=4wcwdTcA1XBuMBszalLz54UlLwNAfbvdnFzF5z6+zz0=; b=FftOAtZdr3lMPfj3Nc8FuYl6AMfznfM1eRxmu9Jd5jaSVJiVlw3CleiLJ1zlV4Td85 f/yVNZPvwhKSs83lufmmmsBmNNRKfTrTmHahIsC8tUUgA8luJ5lnQVJv08DGxF2Pw45j wpscG43TWodO5SHz5Eg6twgRs+VFRS0V78IYbRVf7VwyrJ6T3SllHfB85Xak8qiXxKro vSyshkMKpTiv9KArWvh3s5jR+436vYQX5PXaRjc5CNp5vV4296Vop1+YrPeFX4WtHLfw IuqGUBFDFi39C70IoTbxWN8N2GTmCzv5zUii1QXSAktlZFuLZg+nfjwz0odfNelEhJtA z1fg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=Abjgfs0F; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.com); spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hammerspace.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k37si13978856edd.428.2019.09.11.15.29.49; Wed, 11 Sep 2019 15:30:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=Abjgfs0F; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.com); spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hammerspace.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729833AbfIKU4l (ORCPT + 99 others); Wed, 11 Sep 2019 16:56:41 -0400 Received: from mail-eopbgr820127.outbound.protection.outlook.com ([40.107.82.127]:26064 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729809AbfIKU4l (ORCPT ); Wed, 11 Sep 2019 16:56:41 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mhKGFUlckqUzjWZMpQo/FxisZAdmM9BRCZS9DdBAzbzWH408uOuI76duTYVB2SPjKCjOvSSd61wRZFY9PXr4GUcDjEk2/3Ms1HE30OZeAdM86ZIVGnxFFEu+MeO+wcaqf8997XgTHEXj46paRAjcKiWYLR8EFIglAV1ukhCTwp9Wedh93cw9Tx2b3sMai1JwCaRkNuKq3RZ/2sqEEHXlbXa/Mi8W62VA4eQJ5vsbViUjLzFpj5Ote06Coo3H1/rQfGRpk5PUcDW1I4LFKi1UX46Ee78mIQ71d2YbNiC9w5odr1VP8JF+kBe03MTZva9SWQCtBx4xyWsfdwmGv+/9VA== 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=4wcwdTcA1XBuMBszalLz54UlLwNAfbvdnFzF5z6+zz0=; b=jJIjHZZCjVaQGHsrgom0Pzen3VphI+TE/epCvB/cxVd+UslJhCO5iho1mUxlZOvamd67h0+hIw40K42b4gZxRETEQNqqRAfNAyWQoKevdByzp0HG6IkqZLJhBrOnKouCmJIkO69MEWkFC4CdoNAQYYzdNRoeI/YpRLrc42qDPjS/rpVldaexf48kwesczO5elUW9fueAfFr/32NgPgUZkNACZGSOMzVsmj5vUmwSiWc4RW0r9tA1CqYtFrkzJq9hokveD7RtEesXQNw+6DdQvfxsEqrKYby35ReyGX8xa526SJPuVeaaIZZalPNMY4wYyLflRJN8c8nYrkTwQHgmNw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hammerspace.com; dmarc=pass action=none header.from=hammerspace.com; dkim=pass header.d=hammerspace.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hammerspace.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4wcwdTcA1XBuMBszalLz54UlLwNAfbvdnFzF5z6+zz0=; b=Abjgfs0FHqkCfICibEqtEmKHLeW0V0Bep5K2qysiYG4wNcWZt4QBt8sekI4BukVpvX/vRVWnlJUjs56taHKt38R1ofZXKSgJwOnOD03KyhsiJeX/wLYBB/yQ+puxBPBd7tpBEFdisNSRtDTjdE1IZzvxHdQpNdFbBMhQ2ByjDzg= Received: from DM5PR13MB1851.namprd13.prod.outlook.com (10.171.159.143) by DM5PR13MB1721.namprd13.prod.outlook.com (10.171.154.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2263.10; Wed, 11 Sep 2019 20:56:36 +0000 Received: from DM5PR13MB1851.namprd13.prod.outlook.com ([fe80::70fd:85c2:8ea9:a0b6]) by DM5PR13MB1851.namprd13.prod.outlook.com ([fe80::70fd:85c2:8ea9:a0b6%9]) with mapi id 15.20.2263.015; Wed, 11 Sep 2019 20:56:36 +0000 From: Trond Myklebust To: "aglo@umich.edu" CC: "linux-nfs@vger.kernel.org" , "Anna.Schumaker@netapp.com" Subject: Re: [PATCH 8/9] NFSv4: Handle NFS4ERR_OLD_STATEID in CLOSE/OPEN_DOWNGRADE Thread-Topic: [PATCH 8/9] NFSv4: Handle NFS4ERR_OLD_STATEID in CLOSE/OPEN_DOWNGRADE Thread-Index: AQHVZxdZJhoE+nrJY0m0znCuUAD2P6cm7K8AgAAL64A= Date: Wed, 11 Sep 2019 20:56:36 +0000 Message-ID: References: <20190909140104.78818-1-trond.myklebust@hammerspace.com> <20190909140104.78818-2-trond.myklebust@hammerspace.com> <20190909140104.78818-3-trond.myklebust@hammerspace.com> <20190909140104.78818-4-trond.myklebust@hammerspace.com> <20190909140104.78818-5-trond.myklebust@hammerspace.com> <20190909140104.78818-6-trond.myklebust@hammerspace.com> <20190909140104.78818-7-trond.myklebust@hammerspace.com> <20190909140104.78818-8-trond.myklebust@hammerspace.com> In-Reply-To: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=trondmy@hammerspace.com; x-originating-ip: [50.36.167.63] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f5661083-ee40-48b0-a396-08d736fa8935 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:DM5PR13MB1721; x-ms-traffictypediagnostic: DM5PR13MB1721: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 0157DEB61B x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(376002)(39840400004)(136003)(346002)(396003)(189003)(199004)(486006)(446003)(102836004)(6506007)(53546011)(186003)(8676002)(2351001)(26005)(7736002)(76116006)(305945005)(91956017)(2501003)(2171002)(11346002)(476003)(4326008)(478600001)(229853002)(25786009)(6246003)(14444005)(256004)(5660300002)(6916009)(2616005)(66946007)(64756008)(66556008)(66446008)(66476007)(6116002)(2906002)(3846002)(6486002)(54906003)(6436002)(5640700003)(53936002)(36756003)(86362001)(6512007)(8936002)(81166006)(81156014)(1730700003)(14454004)(118296001)(66066001)(71190400001)(71200400001)(316002)(76176011)(99286004);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR13MB1721;H:DM5PR13MB1851.namprd13.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: hammerspace.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: TSaaQjDRtNUbCuWArSenBEKCHC2gS2ztGKv0XekOkk0Wl3BUKz6eukaE6CsXRa9qmSBoySSAJci1EIRZeqRdMN9WeG6nfKUk7ew5nt7qPfy8SiU2lQC4Dl0DTuoiGfy+gk0Q5gfV5TTh9918Ib2M5+CeG6xo9eX8gdx3+zL9PxgekzzGPgtjN2EJBdvX9OTt4hO6YZPpQeY9w0qSrOPJKaSa6150xzTfTBQ7KcNsmpE0WyVV/p1OHndY1ZuEXI/WJXpgEP4NDoDgF2Jv4B9p+ik76r/406TnGFc/Bz7rABaFFipSbQ+j9nbULVraxHCxR9G83aHEAGgiwI8MZPpuDI9Djr9ZzNK6j0oxujqx3xjS9h/5KFxLiJGUk7dzzQRB88h7MXjaE6Ki/P0phrJOnoP3JFIaJgINOoAWxrBSIjU= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <75C26197CD6D8344AAAF0CFFA7E67C27@namprd13.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-Network-Message-Id: f5661083-ee40-48b0-a396-08d736fa8935 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Sep 2019 20:56:36.6832 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0d4fed5c-3a70-46fe-9430-ece41741f59e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: sl8C97IiA04FUqvWTiXI1VRAxXE8HQAZ8qJtV7xTxNi97IPVYIv/JJDmcXuG78dnkn8NH0UHfSmiwkBFTit+lQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR13MB1721 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org SGkgT2xnYQ0KDQpPbiBXZWQsIDIwMTktMDktMTEgYXQgMTY6MTMgLTA0MDAsIE9sZ2EgS29ybmll dnNrYWlhIHdyb3RlOg0KPiBIaSBUcm9uZCwNCj4gDQo+IFRoaXMgcGF0Y2ggaXMgY2F1c2luZyBt ZSAicHJvYmxlbSIgKGNhbiBiZSBzZWVuIHVzaW5nIGdlbmVyaWMvMzIzKS4NCj4gVGhpcyB0ZXN0 IGNyZWF0ZXMgMTAwIH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