From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757654AbYDJQPc (ORCPT ); Thu, 10 Apr 2008 12:15:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757096AbYDJQPS (ORCPT ); Thu, 10 Apr 2008 12:15:18 -0400 Received: from styx.suse.cz ([82.119.242.94]:56177 "EHLO mail.suse.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757045AbYDJQPQ (ORCPT ); Thu, 10 Apr 2008 12:15:16 -0400 Date: Thu, 10 Apr 2008 18:15:15 +0200 From: Jan Kara To: Diego Calleja Cc: Jiri Kosina , Michal Hocko , Meelis Roos , Linux Kernel list , linux-fsdevel@vger.kernel.org Subject: Re: file offset corruption on 32-bit machines? Message-ID: <20080410161515.GG20656@duck.suse.cz> References: <200804101555.58643.mhocko@suse.cz> <20080410142700.GC6725@atrey.karlin.mff.cuni.cz> <20080410180335.6a748c78.diegocg@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080410180335.6a748c78.diegocg@gmail.com> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 10-04-08 18:03:35, Diego Calleja wrote: > El Thu, 10 Apr 2008 16:31:09 +0200 (CEST), Jiri Kosina escribió: > > > I think this is worth fixing. > > This question comes very often, and Linus even wrote a patch > (http://lkml.org/lkml/2006/4/13/124 , http://lkml.org/lkml/2006/4/13/130) > > But apparently there's no much interest in fixing it, because it would > slow down some workloads... Well, what Linus writes about is a different issue (and with a more costly solution). Here we are concerned just with the problem that file->f_pos = pos; isn't atomic on some archs. Honza -- Jan Kara SUSE Labs, CR