Date: Mon, 28 Feb 2005 15:51:23 -0800 From: Alfred Perlstein <alfred@freebsd.org> To: fs@freebsd.org Cc: Xin LI <delphij@FreeBSD.org> Subject: ffs softdeps fix request Message-ID: <20050228235123.GC81082@elvis.mu.org>
next in thread | raw e-mail | index | archive | help
There's an artifact of ffs softupdates that causes issues if a crash occurs while deleting or creating files. 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?20050228235123.GC81082>