Return-Path: Received: from mexforward.lss.emc.com ([128.222.32.20]:25603 "EHLO mexforward.lss.emc.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751968Ab1IPL7G (ORCPT ); Fri, 16 Sep 2011 07:59:06 -0400 From: To: , CC: , , Date: Fri, 16 Sep 2011 07:58:42 -0400 Subject: RE: [PATCH] nfs4: serialize layoutcommit Message-ID: References: <1315802900-1548-1-git-send-email-bergwolf@gmail.com> <1316108327.5271.4.camel@lade.trondhjem.org.localdomain> <1316108897.5271.6.camel@lade.trondhjem.org.localdomain> In-Reply-To: <1316108897.5271.6.camel@lade.trondhjem.org.localdomain> Content-Type: text/plain; charset="utf-8" Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 SGksIFRyb25kLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IFRyb25k IE15a2xlYnVzdCBbbWFpbHRvOlRyb25kLk15a2xlYnVzdEBuZXRhcHAuY29tXQ0KPiBTZW50OiBG cmlkYXksIFNlcHRlbWJlciAxNiwgMjAxMSAxOjQ4IEFNDQo+IFRvOiBQZW5nIFRhbw0KPiBDYzog YmhhbGV2eUB0b25pYW4uY29tOyBWaXRhbGl5IEd1c2V2OyBsaW51eC1uZnNAdmdlci5rZXJuZWwu b3JnOyBQZW5nLCBUYW8NCj4gU3ViamVjdDogUmU6IFtQQVRDSF0gbmZzNDogc2VyaWFsaXplIGxh eW91dGNvbW1pdA0KPiANCj4gT24gVGh1LCAyMDExLTA5LTE1IGF0IDEzOjM4IC0wNDAwLCBUcm9u ZCBNeWtsZWJ1c3Qgd3JvdGU6DQo+ID4gT24gU3VuLCAyMDExLTA5LTExIGF0IDIxOjQ4IC0wNzAw LCBQZW5nIFRhbyB3cm90ZToNCj4gPiA+IEN1cnJlbnQgcG5mc19sYXlvdXRjb21taXRfaW5vZGUg Y2FuIG5vdCBoYW5kbGUgcGFyYWxsZWwgbGF5b3V0Y29tbWl0L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