xfs
[Top] [All Lists]

Re: XFS internal error xfs_trans_cancel at line 1150 of file fs/xfs/xfs_

To: Christian Røsnes <christian.rosnes@xxxxxxxxx>
Subject: Re: XFS internal error xfs_trans_cancel at line 1150 of file fs/xfs/xfs_trans.c
From: David Chinner <dgc@xxxxxxx>
Date: Tue, 11 Mar 2008 23:21:03 +1100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <1a4a774c0803110419n645da456leaedd98593300726@xxxxxxxxxxxxxx>
References: <1a4a774c0803050553h7f6294cfq41c38f34ea92ceae@xxxxxxxxxxxxxx> <1a4a774c0803060310w2642224w690ac8fa13f96ec@xxxxxxxxxxxxxx> <1a4a774c0803070319j1eb8790ek3daae4a16b3e6256@xxxxxxxxxxxxxx> <20080310000809.GU155407@xxxxxxx> <1a4a774c0803100302y17530814wee7522aa0dfd7668@xxxxxxxxxxxxxx> <1a4a774c0803100134k258e1bcfma95e7969bc44b2af@xxxxxxxxxxxxxx> <20080310222135.GZ155407@xxxxxxx> <1a4a774c0803110108u3f01813fs7f9540f886be055@xxxxxxxxxxxxxx> <20080311093406.GN155407@xxxxxxx> <1a4a774c0803110419n645da456leaedd98593300726@xxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Tue, Mar 11, 2008 at 12:19:29PM +0100, Christian Røsnes wrote:
> On Tue, Mar 11, 2008 at 10:34 AM, David Chinner <dgc@xxxxxxx> wrote:
> >
> > On Tue, Mar 11, 2008 at 09:08:31AM +0100, Christian Røsnes wrote:
> 
> >  > I'll try to add some printk statements to the codepaths you mentioned,
> >  > and see where it leads.
> >
> >  Definitely worth confirming this is where the error is coming from.
> >
> 
>       if (tagno == agno) {
>                       printk("XFS: xfs_dialloc:0021\n");
>                       *inop = NULLFSINO;
>                       return noroom ? ENOSPC : 0;
>               }
> 
> seems to be what triggers this inside xfs_dialloc.
> 
> Here a trace which give some indication to the codepath taken inside
> xfs_dialloc (xfs_ialloc.c):

Yup, that's trying to allocate in each AG and failing. Almost certainly
the problem is the described alignment issue.

FYI, I'm travelling tomorrow so I won't really get a chance to look
at this more until thursday....

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group


<Prev in Thread] Current Thread [Next in Thread>