Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2003 20:00:02 -0500 (EST)
From:      Wesley Morgan <morganw@chemikals.org>
To:        cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/ufs/ffs ffs_alloc.c ffs_extern.h         ffs_snapshot.c
Message-ID:  <20030221195807.K68622@volatile.chemikals.org>
In-Reply-To: <200302220029.h1M0Tpvi045454@repoman.freebsd.org>
References:  <200302220029.h1M0Tpvi045454@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 Feb 2003, Kirk McKusick wrote:

> mckusick    2003/02/21 16:29:51 PST
>
>   Modified files:
>     sys/ufs/ffs          ffs_alloc.c ffs_extern.h ffs_snapshot.c
>   Log:
>   This patch fixes a bug on an active filesystem on which a snapshot
>   is being taken from panicing with either "freeing free block" or
>   "freeing free inode". The problem arises when the snapshot code
>   is scanning the filesystem looking for inodes with a reference
>   count of zero (e.g., unlinked but still open) so that it can
>   expunge them from its view. If it encounters a reclaimed vnode
>   and has to restart its scan, then it will panic if it encounters
>   and tries to free an inode that it has already processed. The fix
>   is to check each candidate inode to see if it has already been
>   processed before trying to delete it from the snapshot image.

Kirk always has the most interesting (and informative) commit messages.
Sometimes its a little excuting just to see him making a commit.

Just a thought :> ... Now back to your regularly scheduled programming!


-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030221195807.K68622>