From: Fredrik Andersson Subject: Re: Fwd: Ext4 bug with fallocate Date: Thu, 22 Oct 2009 09:37:09 +0200 Message-ID: References: <4ADB3AEC.8040901@redhat.com> <1256084662.4316.4.camel@mingming-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 To: Mingming , linux-ext4@vger.kernel.org Return-path: Received: from mail-ew0-f207.google.com ([209.85.219.207]:56623 "EHLO mail-ew0-f207.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752600AbZJVHhG (ORCPT ); Thu, 22 Oct 2009 03:37:06 -0400 Received: by ewy3 with SMTP id 3so260701ewy.17 for ; Thu, 22 Oct 2009 00:37:09 -0700 (PDT) In-Reply-To: <1256084662.4316.4.camel@mingming-laptop> Sender: linux-ext4-owner@vger.kernel.org List-ID: > The link you provided about is related to a race between restart a > transaction from truncate, and the other process is doing something like > block allocation to the same file. Do you have another threads > allocating blocks while you are truncating? No, there is only a single thread in this program. No other thread or process is accessing the same file or file descriptor. /Fredrik