Return-Path: Received: from mail-oi0-f48.google.com ([209.85.218.48]:33268 "EHLO mail-oi0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752847AbbC0OIj (ORCPT ); Fri, 27 Mar 2015 10:08:39 -0400 Received: by oifl3 with SMTP id l3so76848127oif.0 for ; Fri, 27 Mar 2015 07:08:39 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 27 Mar 2015 10:08:39 -0400 Message-ID: Subject: Re: pNFS layout, ROC and multiple opens From: Trond Myklebust To: "Mkrtchyan, Tigran" Cc: linux-nfs list Content-Type: text/plain; charset=UTF-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: On Fri, Mar 27, 2015 at 7:24 AM, Mkrtchyan, Tigran wrote: > > > Hi folks, > > we run into following issue: > > on a client host we have two processes - A and B. > Process A opens a file and reads some data: > > OPEN -> LAYOUTGET -> READ. > Notice, that layout has a roc set to true. > > Process B opens the same file: > > OPEN -> READ. > > Client obviously re-used layout information. > Now, process A closes the file and as a result, > layout becomes invalid. No it doesn't. See the errata. Cheers Trond