From: Nick Piggin Subject: Re: [RESEND] [PATCH] VFS: make file->f_pos access atomic on 32bit arch Date: Wed, 8 Oct 2008 19:48:59 +1100 Message-ID: <200810081949.00556.nickpiggin@yahoo.com.au> References: <6.0.0.20.2.20081007140438.0580f110@172.19.0.2> <1223448711.1378.16.camel@lappy.programming.kicks-ass.net> <48EC7003.4040108@cosmosbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: Peter Zijlstra , Hisashi Hifumi , torvalds@linux-foundation.org, Andrew Morton , Andi Kleen , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, "Aneesh Kumar K.V" , "Theodore Ts'o" To: Eric Dumazet Return-path: Received: from smtp108.mail.mud.yahoo.com ([209.191.85.218]:36873 "HELO smtp108.mail.mud.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754003AbYJHItK (ORCPT ); Wed, 8 Oct 2008 04:49:10 -0400 In-Reply-To: <48EC7003.4040108@cosmosbay.com> Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wednesday 08 October 2008 19:32, Eric Dumazet wrote: > A far more interesting problem is the "tail -f logfile" problem that raised > recently in lkml, when file is NFS mounted, where reader can get nul > bytes... (Subject : blocks of zeros (NULLs) in NFS files in kernels >= > 2.6.20 ) Not so interesting outside NFS, AFAIKS? It's just a matter of what semantics NFS chooses to implement... I guess stronger semantics will tend to be more costly, all else being equal, probably the reason why they do it that way. That behaviour does seem a bit surprising, though.