Return-Path: Received: from us-smtp-delivery-194.mimecast.com ([216.205.24.194]:30115 "EHLO us-smtp-delivery-194.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751776AbdJ3Sfg (ORCPT ); Mon, 30 Oct 2017 14:35:36 -0400 From: Trond Myklebust To: "bfields@fieldses.org" CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH] nfsd: On CLOSE, the state change needs to be atomic with the seqid bump Date: Mon, 30 Oct 2017 18:35:31 +0000 Message-ID: <1509388529.95653.4.camel@primarydata.com> References: <20171027202509.99168-1-trond.myklebust@primarydata.com> In-Reply-To: <20171027202509.99168-1-trond.myklebust@primarydata.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gRnJpLCAyMDE3LTEwLTI3IGF0IDE2OjI1IC0wNDAwLCBUcm9uZCBNeWtsZWJ1c3Qgd3JvdGU6 DQo+IFRoZSB2YXJpb3VzIGZ1bmN0aW9ucyB0aGF0IGNhbGwgY2hlY2tfc3RhdGVpZF9nZW5lcmF0 aW9uKCkgaW4gb3JkZXINCj4gdG8gY29tcGFyZSBhIGNsaWVudC1zdXBwbGllZCBzdGF0ZWlkIHdp dGggdGhlIG5mczRfc3RpZCBzdGF0ZSwgYWxtb3N0DQo+IHdpdGhvdXQgZXhjZXB0aW9uIG5lZWQg dG8gY2hlY2sgZm9yIGNsb3NlZCBzdGF0ZS4NCj4gDQo+IEEgcmFjZSBub3cgZXhpc3RzIHdoZXJl YnkgdGhlIHN0YXRlaWQgY2FuIGdldCBidW1wZWQgaW4gbmZzZDRfY2xvc2UsDQo+IGJ1dA0KPiB0 aGUgYWN0dWFsIGNoYW5nZSBpbiB2YWx1ZSBvZiBzdF9zdGlkLnNjX3R5cGUgaXMgZGVmZXJyZWQg dW50aWwgYWZ0ZXINCj4gYWxsIGxvY2tzIGFyZSBkcm9wcGVkLg0KPiBUaGlzIGNvbW1pdCBlbnN1 cmVz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