Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1490945pxa; Fri, 28 Aug 2020 14:13:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy//8c0koiMYEACFhJqek17DTBXTCyh4kiW5YjZdtRPrY23RPVHlt2sSi5mjaLrTIg93yrU X-Received: by 2002:a17:906:c2c5:: with SMTP id ch5mr660493ejb.183.1598649230741; Fri, 28 Aug 2020 14:13:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1598649230; cv=pass; d=google.com; s=arc-20160816; b=TPLOH0nHQ5FCOMsJt4zprIwurOP+L4ixdlt3Cz6BgC6g4TA7ii6C5zlxVh9yCsUNYe 3DuznbjYu2q/4ZSs8f0Z5a8ZJuM1qZBgOgfOG9M5GaMMsN0sof/3FwGHzUOos5YzspW7 Nm3MMGfiwbAec1tCwrCFf4I21HMQSFDk0qsYlr1AGSePFaUJpprlKuJTfE9R+fJ5rNUx o53DzYd4mHFbDJ3QuhCBQfgj8SD7nOzUOYS+raIO52yE+s+N8r0I7WRqJq6HuMEnrbgk /ISGui0kykDPU8AkHVRVvKC/XC/CmORm5Prtiv85+/QqxLfhnNSkDrMYvkM67w3Mtxl+ Czuw== 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=OKQGjHWBhPhubi70ZDiklAcSykvSfiUxHxYF4Rp+8pg=; b=FcPSziBdggY84bEXV1VcIHWrC7hFk1JFJ8iVThlHtuqHXF072QJpoXQsXyMKKrV0jz DHtbRO5/K60hBuVtfm55rCG7SISw4/Wf45qak8cgpsA5xCDpfkg0GVopgR53oxbqDPJ8 x1KpgqjB3dD8WXbY+HRupabT52TVdKtBCknatOdXtAVVG29Tad6h/OawAeqyESYWiQxS HQdZFL/X6ATC3ITSEGZaBiHl2hoFOFbgTRr47ZCjuWZrQuFV8rZiAnI//8odeTFUiA8C 1KNoqdwJbjiy1s+3QpAVzsQBqinBl7Hbog2+arwcDvE2dE4xgiMTXdXXaEGnNmLgYq09 g12Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b="XBqA/tp1"; 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 91si295624edy.18.2020.08.28.14.13.17; Fri, 28 Aug 2020 14:13:50 -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="XBqA/tp1"; 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 S1726338AbgH1VNO (ORCPT + 99 others); Fri, 28 Aug 2020 17:13:14 -0400 Received: from mail-eopbgr690129.outbound.protection.outlook.com ([40.107.69.129]:55350 "EHLO NAM04-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726146AbgH1VNK (ORCPT ); Fri, 28 Aug 2020 17:13:10 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IUtuZZtHpD0BM+dqjzPUzBWtDThRDpbT92zQdJgv61ASxsUVjPZ24gyXGyU5TJMAqcFv29sv8RQfELLHgcKfQZapmWxXUM2FNwBWqtVfUt5WDDM07DaNjgreUyTAe03H1E4QkFny08Q0fN66Zpze/EXRlRkbg836BkOUgDEJojtz7St+TBYV5w2eAX5SptYmg+O/VU0SH37pP+ro6h5qi2Jn6tqkmjOdHrn1ycApbDjP9HffV+gCNRuz5dGGMTg1Abo9UEkYJp+EVlQj3RkHapiF+rAJInWjQLG534NF1ak8LBMrShmXn4lUtmKjYtT7g61AplHXxNcLw+8lQ3qL7g== 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=OKQGjHWBhPhubi70ZDiklAcSykvSfiUxHxYF4Rp+8pg=; b=Ldq+YA/fhywtBDvgnBgyqzW5H2BmHkrBUBuTUsEpGpSuWDrT1Hsj4/qdirk1u3YT8B7FWTRFuWNXOKeRquUD+ttWBLWwVoYiGAzjpVDrW5MklSDtDH72Ea6+OfT6SpzXBeF1VExjFA/v8QJ+i2p1ULlAdOc0KQZeHDYMqQeNmPZwanBTVCQCBvXi+28T0f2Cf2xh+BrXviPk8vhn/C/fxjZm1zwCJowYKSAQjEK0yOOr3rngA5ixu8VghN190NHVtnRcEQ5jSstSd5b2+0n7v46QfaTGnupF4e4+RsxbXlvBmDo0lOwARg2Wp0ibN6oryOXVBC9RT1o7u29cPDryfQ== 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=OKQGjHWBhPhubi70ZDiklAcSykvSfiUxHxYF4Rp+8pg=; b=XBqA/tp13xy38DQHD6AOw0acoD9OFhLT47iGcTaZIItylOoSsiuIxGQPKngSGDgQN5umhlZisc+bCbnXtjwJIDx1GVUNJXAD5KGSN0NKDEQMSDHcx+TghWRAdYQkyeL5/SINGwcN905MinnHz26x+tRKQ8O8crFkk34Nm80S0KY= Received: from CH2PR13MB3398.namprd13.prod.outlook.com (2603:10b6:610:2a::33) by CH2PR13MB3461.namprd13.prod.outlook.com (2603:10b6:610:2c::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.5; Fri, 28 Aug 2020 21:13:07 +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.005; Fri, 28 Aug 2020 21:13:07 +0000 From: Trond Myklebust To: "anna.schumaker@netapp.com" , "chuck.lever@oracle.com" CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH v1] NFS: Zero-stateid SETATTR should first return delegation Thread-Topic: [PATCH v1] NFS: Zero-stateid SETATTR should first return delegation Thread-Index: AQHWfXWajEjc3MEXOEudAjC+XP9kGqlOBR0A Date: Fri, 28 Aug 2020 21:13:07 +0000 Message-ID: References: <159864470513.1031951.14868951913532221090.stgit@manet.1015granger.net> In-Reply-To: <159864470513.1031951.14868951913532221090.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: 92c1aefe-9235-46e7-e890-08d84b97292a x-ms-traffictypediagnostic: CH2PR13MB3461: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 7PRKGt0gGNKaOK/9BCKklACGgvKiiIWoo1dC/31nZlBmFwUm4va0mXUgaHecxgml/s0I0rJbQBky8HdpP5JudeABQvbl6lFRl4qhLfV7x0nTQ3xZ4uvVDPO9oDjdNAFtVb/6LXvaKzeYqrpYosMM/yII8fUXCOwsL2kMOVB78Mh6dyvB4uI1XYuMbZtqguN+//LK/u1Qo+uDDKcePC7QvCYyMTVE49tseZEQYlN8UYeUQCd5zqOhx6Vcf9XFZPRMbf6+ARQYdbKQtAFL2vD3W48xS585ULQ0NjVRPpG42JbDxjwNNyg/V8k8bojdp4uhcFi4DteWnqjgeOOYxSrpFg== 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:(396003)(39840400004)(346002)(376002)(136003)(366004)(76116006)(66476007)(66556008)(66446008)(64756008)(66946007)(86362001)(36756003)(4326008)(6506007)(83380400001)(5660300002)(316002)(478600001)(2906002)(6512007)(110136005)(8676002)(71200400001)(8936002)(2616005)(186003)(6486002)(26005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: 8aKzsey0z6bWa7uTlrRiY8+ERET0HtthBWB68OphTXCN1qsAzYa8c56RT6yC9ykTs8KuvSZPwL5OAcXk9uBty9cm1fJTq+Se3UuxdXoFUs1LGWNfT3LsG93QIX86JUIYQk+RLIRQj8n2ijyZ4klGIzNnHXOf9wMQJYXGtw6DiT6h1bkaUiVKo7cji7nRvWn7Gva60ARNdwp4uhOTbQtFZfYcKc2iWjOhIe+tJCfVB+lnM0XMy9pMBeZXf/Im8UjdDYRD9xxRLM80pt+G5aWMTH3/vRSD9NQ8+Jkwe7XSlK51RGHWNq+FtnxFkSHgCgXGSxJq5mw9b6iqWjfOQJ+d+MzljhlIJ8RabQWyYsooZeH9xqe6/C+KQfc8DPV6AOzYPHzdal4766+IVdThfsEMZVAfZwp2b91lmAoJlfvmE1VVMjciYThXmZgulkNZ6jweG5J9pCiPfQ0L/kT4VPpie0SfdlyjdNA0OIZcTb3eGzYbSF2S9Gr4TtOUU99O+rwhIyVCpgNdcvC7++rk+S6OcwqvulZMuI6MrlWs3BFvtBz/jQLDTslQM55+ELO7EvmBM5jf/Nu+bOvBqqh0bYrzY+48OD5SBVu1tWW3ATK4ISjsXHnl8Tt8hwepRmsmK5OB2wLFsVkADqoJnb8JDzo/Lw== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <219642899F771B4BB7C2577BF1DED2EF@namprd13.prod.outlook.com> 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: 92c1aefe-9235-46e7-e890-08d84b97292a X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Aug 2020 21:13:07.3549 (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: TxYgvchIk2l1mkB4h7QOZ8J8/iX2CkmLiAIQfps/rr9+TIVGqLnnM+kM3VuC58x742WSxdmQ+r1h0chOTDcGqA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR13MB3461 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gRnJpLCAyMDIwLTA4LTI4IGF0IDE1OjU4IC0wNDAwLCBDaHVjayBMZXZlciB3cm90ZToNCj4g SWYgYSB3cml0ZSBkZWxlZ2F0aW9uIGlzbid0IGF2YWlsYWJsZSwgdGhlIEx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