Subject: Re: kern/25279: NFS read doesn't update atime
To: None <chuq@chuq.com>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 06/28/2005 07:25:29
> what lock protects ip->i_flag?  it's current the VOP_LOCK(),
> but we can't acquire that lock in VOP_GETPAGES() due to
> lock-ordering constraints.
> 
> -Chuck

i_flag is protected by kernel_lock.
VOP_LOCK is not always held eg. when GOP_ALLOC -> ffs_balloc updates i_flag.

YAMAMOTO Takashi