Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2005 19:00:21 -0500 (EST)
From:      Jeff Roberson <jroberson@chesapeake.net>
To:        Alfred Perlstein <alfred@freebsd.org>
Cc:        fs@freebsd.org
Subject:   Re: ffs softdeps fix request
Message-ID:  <20050228185955.V50530@mail.chesapeake.net>
In-Reply-To: <20050228235123.GC81082@elvis.mu.org>
References:  <20050228235123.GC81082@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 28 Feb 2005, Alfred Perlstein wrote:

> There's an artifact of ffs softupdates that causes issues if a crash
> occurs while deleting or creating files.
>

You should really ask Kirk about this sort of thing.

> Basically, one can wind up with a directory that is empty, but the
> link count is artificially high.  Then you can have a directory
> that is empty, but not removeable.  It would be somewhat trivial
> to add some code to check the directory's contents when a VOP_RMDIR
> would have failed because of the link count check.
>
> But then my head went all explody when trying to figure out how
> that would impact the background fsck in progress.
>
> Any ideas?
>
> --
> - Alfred Perlstein
> - Research Engineering Development Inc.
> - email: bright@mu.org cell: 408-480-4684
>



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