xfs
[Top] [All Lists]

Re: [PATCH 1/2] Add new spin_lock for i_flags of xfs_inode

To: Masayuki Saito <m-saito@xxxxxxxxxxxxxx>
Subject: Re: [PATCH 1/2] Add new spin_lock for i_flags of xfs_inode
From: Nathan Scott <nathans@xxxxxxx>
Date: Wed, 9 Aug 2006 11:07:18 +1000
Cc: David Chinner <dgc@xxxxxxx>, xfs@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
In-reply-to: <20060808205855m-saito@mail.aom.tnes.nec.co.jp>; from m-saito@tnes.nec.co.jp on Tue, Aug 08, 2006 at 08:58:55PM +0900
References: <20060808205855m-saito@mail.aom.tnes.nec.co.jp>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Tue, Aug 08, 2006 at 08:58:55PM +0900, Masayuki Saito wrote:
> It is the problem that i_flags of xfs_inode has no consistent
> locking protection.
> 
> For the reason, I define a new spin_lock(i_flags_lock) for i_flags
> of xfs_inode.  And I add this spin_lock for appropriate places.

Thanks Masayuki.  I've queued these two patches in my test
kernels, and if Dave has no more comments, I will get this
merged soon (probably 2.6.19 material, as its not had much
exposure yet afaik).

cheers.

-- 
Nathan


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