ffs softdeps fix request
Jeff Roberson
jroberson at chesapeake.net
Tue Mar 1 00:04:19 GMT 2005
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 at mu.org cell: 408-480-4684
>
More information about the freebsd-fs
mailing list