xfs
[Top] [All Lists]

Re: [PATCH 1/1] XFS: Replace custom AIL linked-list code with struct lis

To: David Chinner <dgc@xxxxxxx>
Subject: Re: [PATCH 1/1] XFS: Replace custom AIL linked-list code with struct list_head
From: "Josef 'Jeff' Sipek" <jeffpc@xxxxxxxxxxxxxx>
Date: Fri, 25 Jan 2008 02:36:38 -0500
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <20080125070800.GH155407@xxxxxxx>
References: <1200875757-26598-1-git-send-email-jeffpc@xxxxxxxxxxxxxx> <20080121040422.GA25541@xxxxxxxxxxxxx> <20080121040740.GA14938@xxxxxxxxxxxxxx> <20080125070800.GH155407@xxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.16 (2007-06-11)
On Fri, Jan 25, 2008 at 06:08:00PM +1100, David Chinner wrote:
...
> Few things that really should be done in this first patch. Rather
> than passing listheads to the xfs_ail_*() functions, it should
> really be changed to pass the xfs_ail_t to those functions. The
> structure of the list should be opaque to everything outside these
> functions.
 
Agreed. I'm going to send a fixed up version of the patch sometime tomorrow.

> It also needs to build with XFS_DEBUG enabled - that means
> xfs_ail_check needs updating, but I've already got a patch
> for the other bit (xfsidbg.c) that works which is attached below.

Lesson learned...compile with XFS_DEBUG on.

Josef 'Jeff' Sipek.

-- 
Real Programmers consider "what you see is what you get" to be just as bad a
concept in Text Editors as it is in women. No, the Real Programmer wants a
"you asked for it, you got it" text editor -- complicated, cryptic,
powerful, unforgiving, dangerous.


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