Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264242AbTH1VTc (ORCPT ); Thu, 28 Aug 2003 17:19:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264259AbTH1VTc (ORCPT ); Thu, 28 Aug 2003 17:19:32 -0400 Received: from pix-525-pool.redhat.com ([66.187.233.200]:29562 "EHLO devserv.devel.redhat.com") by vger.kernel.org with ESMTP id S264242AbTH1VTa (ORCPT ); Thu, 28 Aug 2003 17:19:30 -0400 Subject: Re: [2.4.22-rc1] ext3/jbd assertion failure transaction.c:1164 From: "Stephen C. Tweedie" To: Pascal Schmidt Cc: Andrew Morton , "Marcelo W. Tosatti" , linux-kernel , Stephen Tweedie In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Message-Id: <1062105549.17230.421.camel@sisko.scot.redhat.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 28 Aug 2003 22:19:09 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1087 Lines: 30 Hi, On Thu, 2003-08-28 at 14:57, Pascal Schmidt wrote: > > Many thanks --- I was able to reproduce this very easily, and I know of > > one or two very unusual things that fsx does which might well be the > > trigger here. I'll let you know how things go. > > Good, at least it's not a bug that only happens here and is hard to > reproduce elsewhere. > > I hope this does not happen under normal fs usage. ;) It's all down to ext3_writepage() using data-journaling rather than metadata journaling. The obvious fix is just to make the journal_dirty_async_data() code commit its writes as metadata if the inode is marked for data-journaling, and to set the transaction handle to be synchronous in that case. Sounds like a recipe for deadlock if done incorrectly, though, so I'll give it a more careful look tomorrow. Cheers, Stephen - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/