Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/miscfs/genfs

On Wed, Jan 23, 2008 at 08:11:32PM +0000, Andrew Doran wrote:
> Module Name:  src
> Committed By: ad
> Date:         Wed Jan 23 20:11:32 UTC 2008
> Modified Files:
>       src/sys/miscfs/genfs: layer_subr.c
> Log Message:
> layer_node_find: if we find a node being cleaned out, then ignore it and
> continue.  A thread trying to clean out the extant layer vnode needs to
> acquire the shared lock (i.e. the lower vnode's lock), which our caller
> already holds. To allow the cleaning to succeed the current thread must make
> progress.  So, for a brief time more than one vnode in a layered file system
> may refer to a single vnode in the lower file system.

As long as we will only ever find at most one (which I believe to be true 
from this log message), we're fine.


Take care,


Attachment: pgpcUgYmSHvd9.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index