Return-Path: Received: from us-smtp-delivery-194.mimecast.com ([216.205.24.194]:34192 "EHLO us-smtp-delivery-194.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753293AbcFOO3t (ORCPT ); Wed, 15 Jun 2016 10:29:49 -0400 From: Trond Myklebust To: Christoph Hellwig CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH 10/12] NFS: Do not serialise O_DIRECT reads and writes Date: Wed, 15 Jun 2016 14:29:42 +0000 Message-ID: <755A2A14-C6A9-4737-8335-0A6785490F6D@primarydata.com> References: <1465931115-30784-1-git-send-email-trond.myklebust@primarydata.com> <1465931115-30784-2-git-send-email-trond.myklebust@primarydata.com> <1465931115-30784-3-git-send-email-trond.myklebust@primarydata.com> <1465931115-30784-4-git-send-email-trond.myklebust@primarydata.com> <1465931115-30784-5-git-send-email-trond.myklebust@primarydata.com> <1465931115-30784-6-git-send-email-trond.myklebust@primarydata.com> <1465931115-30784-7-git-send-email-trond.myklebust@primarydata.com> <1465931115-30784-8-git-send-email-trond.myklebust@primarydata.com> <1465931115-30784-9-git-send-email-trond.myklebust@primarydata.com> <1465931115-30784-10-git-send-email-trond.myklebust@primarydata.com> <20160615071343.GC4318@infradead.org> In-Reply-To: <20160615071343.GC4318@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: DQoNCk9uIDYvMTUvMTYsIDAzOjEzLCAiQ2hyaXN0b3BoIEhlbGx3aWciIDxoY2hAaW5mcmFkZWFk Lm9yZz4gd3JvdGU6DQoNCj4+ICt2b2lkDQo+PiArbmZzX2xvY2tfYmlvKHN0cnVjdCBuZnNfaW5v ZGUgKm5mc2kpDQo+DQo+YmlvIHN0YW5kcyBmb3IgYnVmZmVyZWQgSS9PPyAgVGhpcyBjb3VsZCBy ZWFsbHkgdXNlIGEgbW9yZSBkZXNjcmlwdGl2ZQ0KPm5hbWUgYW5kL29yIGEgY29tbWVudC4uDQo+ D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