Return-Path: linux-nfs-owner@vger.kernel.org Received: from mxout1.mail.janestreet.com ([38.105.200.112]:33058 "EHLO mxout1.mail.janestreet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752483AbbBZPqH (ORCPT ); Thu, 26 Feb 2015 10:46:07 -0500 Received: from tot-qpr-mailcore1.delacy.com ([172.27.56.68] helo=tot-qpr-mailcore1) by mxout1.mail.janestreet.com with smtp (Exim 4.82) (envelope-from ) id 1YR0da-0007ur-M1 for linux-nfs@vger.kernel.org; Thu, 26 Feb 2015 10:46:06 -0500 Received: from mail-yk0-f169.google.com ([209.85.160.169]) by mxgoog1.mail.janestreet.com with esmtps (UNKNOWN:AES128-GCM-SHA256:128) (Exim 4.72) (envelope-from ) id 1YR0da-0001AS-Gh for linux-nfs@vger.kernel.org; Thu, 26 Feb 2015 10:46:06 -0500 Received: by ykq19 with SMTP id 19so4419184ykq.4 for ; Thu, 26 Feb 2015 07:46:06 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1424964994.640.0.camel@willson.usersys.redhat.com> References: <1424964150.13431.57.camel@willson.usersys.redhat.com> <1424964871.10136.6.camel@primarydata.com> <1424964994.640.0.camel@willson.usersys.redhat.com> From: Chris Perl Date: Thu, 26 Feb 2015 10:45:45 -0500 Message-ID: Subject: Re: File Read Returns Non-existent Null Bytes To: Simo Sorce Cc: Trond Myklebust , Linux NFS Mailing List , Chris Perl Content-Type: text/plain; charset=UTF-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: > Ok, I assume proper use of locking will address the situation and allow > readers to get consistent data and not null bytes ? Yes, trond said this explicitly in one of his earlier replies.