Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp21985pxk; Sat, 29 Aug 2020 14:20:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHDWk4tQPhixqweJfAh+8TAj42IUHuNl8LRd1395PLGSxKSczrd6+QYBPisZbYfdOw8B5G X-Received: by 2002:aa7:c7c1:: with SMTP id o1mr5054005eds.368.1598736029458; Sat, 29 Aug 2020 14:20:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1598736029; cv=pass; d=google.com; s=arc-20160816; b=O1a/iE0Q2mMEP4DxgtmH23Knk+1u7ZCVzJ0nVdPSPV5FG2ZdxBZcCseuJ0ZcvbVwFw j9VDgt4j5xSSK432a1K6cm0AudkCRc2pWmFJVUmUnnjh++bfHEV5v8Vy7i4+GUKYqZwc oTcYF24FVDwdICt2Lk4fwpyawHlbi0Vo2mkRdDmTZ7rSpWVTfdojG7UweHZUddhWxifX w6PruDA4MELglbtC8jk/ClKnnOUltOPQ0licg1OdXaTKEQ0eP5y0RSldMdb2QSpbNRFo F2VLukvW5P0laqKe/VAa9/62tO/6Bc16nNCxBB2SpnXGjJr8OUD3qR6swrerbgVBG9/S AyAg== 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=evE4cIKGy5pdAxIx47LGceUNG4cktnVAyNkps0Hu0nU=; b=MiIFNERuTwNZDX82VlgK3O18/m1uajbRyAQ0UQ2zSMg4s/GlflpoVhkAjZ5fOCR7MD BDuaREQKnG3BNf+jYydLnB0fqrmfe4ETtjl4dO0p7vzcSSo6fTUdB7oukdXzFyAfNldS 1IivYZJCZ8E+jhl3bMH+/fJ/QCuvtIcfEhY490/wlUey41bjxEg7rEtXGFxKP4srH3jF c58dYXG52nIEpl2+fUuu18cAXVuerwmM1FiVke6u6vo6OKejPKQTe8jXJliwLhw3KZGt Z4E7uKK3vsCFRLJl6ZLKBwUQhUcqArmk33UwhIwFAmQ7kFxBVIhyBacnB49INCwBHOsc Tr6w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=OQBsl8on; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.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=NONE sp=NONE dis=NONE) header.from=hammerspace.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u26si2234582edv.154.2020.08.29.14.19.47; Sat, 29 Aug 2020 14:20:29 -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=@hammerspace.com header.s=selector2 header.b=OQBsl8on; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.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=NONE sp=NONE dis=NONE) header.from=hammerspace.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728515AbgH2VRw (ORCPT + 99 others); Sat, 29 Aug 2020 17:17:52 -0400 Received: from mail-eopbgr750090.outbound.protection.outlook.com ([40.107.75.90]:47745 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728417AbgH2VRt (ORCPT ); Sat, 29 Aug 2020 17:17:49 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OYwcArq9q35fmO2y0FyO4UKeVQXgisuSOHgszJflQZOS7ftLV1Z7Zle1hJNvCWzRhm9zN1aSSk3HpSbEoLUClDMArqKZJjGo/CCMWkU92brh4lnfSOjfj9kmU+eafuhkbxrrxG8efZzI5KQV7DYNEkKT7umuSaL3v9fUnDUD7L/sdQsgpMgQ0mBEUR+OtL+P9PWGdJTtZpOT/g19ULhmD8BLWv/4k8e2NzIKuFxED7zp+TWP+xLgnpZ20g9ZI4wOujzJ17ytlVO/MP+mDcpW5hmloCgHodNMFpFY/6BHSPynBRCzkrg631khd63llJdJahnkiJlg1iBQ50RkAr1utQ== 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=evE4cIKGy5pdAxIx47LGceUNG4cktnVAyNkps0Hu0nU=; b=eheuf53J2FqVaovFO/qsUtDi1XpjQ/9Mm2f5xQTAT8kAGcNglXZaa3QA1XLcTPErLbNr5h6ZF3ZAFegx5z0fUE/8Lc7C4mGDh+enBS0xLbHtM1yOG5I0PupJaLRmOX1xv2Z9JEX2Ki37BCoF93kMVcdvv+N1MBryk80fGrrvvpRnPeLo6RSpyyvQOlAZD2COaC0s0GQ6UpeuXOHw6/5NN7r/bMYFi+/m7qGc48Y2IuT0e4qVzs9Eyn2N+8SOjolRN8SnyRe2ISOrP/GkzWNivoF6pu+66I6qzEd7kRFj3+dmVGiNXEY6DMxwyJWtrQq0yiRZtvsUa3JI5WygOLH5MA== 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=evE4cIKGy5pdAxIx47LGceUNG4cktnVAyNkps0Hu0nU=; b=OQBsl8oncpVwFFFMxKof7s+ZqRJWFAn7FAnM+lX2Vgg5IEB9ZYO18qVUaxd09QO22AewTIlR7475khpw3KeJ841qG2w2/T6ZM7uEV3u0p1RJuJoLkEthDkKoECRjcUXUT56XR3BhA1e+uPqcS26gYrQnzK1EPXrK56svOX1BjJg= Received: from CH2PR13MB3398.namprd13.prod.outlook.com (2603:10b6:610:2a::33) by CH2PR13MB3336.namprd13.prod.outlook.com (2603:10b6:610:28::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.5; Sat, 29 Aug 2020 21:17:45 +0000 Received: from CH2PR13MB3398.namprd13.prod.outlook.com ([fe80::403c:2a29:ba13:7756]) by CH2PR13MB3398.namprd13.prod.outlook.com ([fe80::403c:2a29:ba13:7756%3]) with mapi id 15.20.3348.011; Sat, 29 Aug 2020 21:17:45 +0000 From: Trond Myklebust To: "anna.schumaker@netapp.com" , "chuck.lever@oracle.com" CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH v2] NFS: Zero-stateid SETATTR should first return delegation Thread-Topic: [PATCH v2] NFS: Zero-stateid SETATTR should first return delegation Thread-Index: AQHWfigV+o3sJiBz30CDvRqJWixucKlPl1iA Date: Sat, 29 Aug 2020 21:17:45 +0000 Message-ID: <9e28664e90438384be654a39b23c6d517959c15a.camel@hammerspace.com> References: <159872131590.1096729.3952588635826859724.stgit@manet.1015granger.net> In-Reply-To: <159872131590.1096729.3952588635826859724.stgit@manet.1015granger.net> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: netapp.com; dkim=none (message not signed) header.d=none;netapp.com; dmarc=none action=none header.from=hammerspace.com; x-originating-ip: [50.124.247.56] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 421c539e-9aba-4f97-431d-08d84c60f91a x-ms-traffictypediagnostic: CH2PR13MB3336: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: kzAe2OkkyICRMAypJflilMjWffL8Dz47dODrbmJdYhhq2w/Se93HnVflJ7PgYO6tevl8Fab04NMRMKBlczaCy5oAcd1eqGpzw/+j3HqqvtL7Ae8QtrlL3GPLUUPQcYityTgyD8VJsUVb0H7H5bJSxw1RaoB0Y+YZsjJLgp50XveobgRooOR5wJvsnKoEvGpF8Lj4XQLfCNkOCuJpCiI4GDGrIHAVT+DtsYDZgRBpo20ayOJYMbVtM0ZPswdkv2SOhEvb7hc1xPVPpM73Y470/R3qrengz2OTvXs7JNEPkimPLEpA25uhavigFsRkhemb x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH2PR13MB3398.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(376002)(346002)(136003)(8676002)(6506007)(186003)(508600001)(8936002)(6512007)(2906002)(4326008)(6486002)(76116006)(66476007)(71200400001)(83380400001)(26005)(66556008)(2616005)(110136005)(5660300002)(66946007)(64756008)(86362001)(66446008)(36756003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: dxIQt0jq0LkymnTGPR6G6CZAxlxO/t3vj9W3BrYILcQp0odVZwG7rhhIza6SYJQiaSv94KKsL5IL2Diaie44bmEkICoiEGl2VitJ4qTKQ83ecr1CepXOXQK3khHSjKVnTNFv95KtFkdnWinSD5f+y1PVGD7F+3QPNdRtrtczcriI90nVdyiiYD7UgXt6qQinMNniFKZskMDRRoYJiqu+gNkw97iNLxtv4bjMYqNkK5s/VQCRvXZ0hqi0cp56UVIXTbOLC38fIyefd+/vM3yjh0VEhqJ8Km12cxeJMh0nd5QZNQ+Ey1WSOHFbHZNpYUKckMctF4I2T/R51JCSAv2zxGrG626pS1jDcL7iBFDhXV+2po5nFLDfH4Bwtx3ipayHctmYZSE+wglIcVQoWFvQIRzc01qkVAKM6anZ9S1m1U9YijwyXrRshXTIbziVD0gqW6/rB1cNVElhDvnhfe+3SIFHrn7MOb2DVYwMrtPCh1fKJZWka0ZzRejjEIcSKMHf3gnz4QAI/LFkqcNZ2ynY1bYic8+lSQ26vD0JCeAzxFHRXou0bZYLXX4hyh3j8gDJlpZSYWpc9L6muRj7Uz4bvusa1/amZPAbUnMEjf41aMGlZiolMjOMjJPDdPUbb1KhzJ9+iQbkFFqTJ8F9a0wp0g== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH2PR13MB3398.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 421c539e-9aba-4f97-431d-08d84c60f91a X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Aug 2020 21:17:45.1325 (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: XRq3dC2TIsH9vD9KXWXfz+US6H4hJVNkWusJlLMpUmpsRYBF+jYFE89QinJ0PjLnqjLZYhxSUclq+V28nj/BHA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR13MB3336 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gU2F0LCAyMDIwLTA4LTI5IGF0IDEzOjE2IC0wNDAwLCBDaHVjayBMZXZlciB3cm90ZToNCj4g SWYgYSB3cml0ZSBkZWxlZ2F0aW9uIGlzbid0IGF2YWlsYWJsZSwgdGhlIExpbnV4IE5GUyBjbGll bnQgdXNlcw0KPiBhIHplcm8tc3RhdGVpZCB3aGVuIHBlcmZvcm1p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