Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx1.redhat.com ([209.132.183.28]:49915 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752549AbbBZP4V (ORCPT ); Thu, 26 Feb 2015 10:56:21 -0500 Message-ID: <1424966173.640.7.camel@willson.usersys.redhat.com> Subject: Re: File Read Returns Non-existent Null Bytes From: Simo Sorce To: Chris Perl Cc: Trond Myklebust , Linux NFS Mailing List , Chris Perl Date: Thu, 26 Feb 2015 10:56:13 -0500 In-Reply-To: References: <1424964150.13431.57.camel@willson.usersys.redhat.com> <1424964871.10136.6.camel@primarydata.com> <1424964994.640.0.camel@willson.usersys.redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: On Thu, 2015-02-26 at 10:45 -0500, Chris Perl wrote: > > 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. Thank you, my confusion has been cleared. Simo. -- Simo Sorce * Red Hat, Inc * New York