[Bug 198789] Panic while mounting an NANDFS filesystem

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 26 Jan 2025 00:46:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198789

Warner Losh <imp@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |imp@FreeBSD.org

--- Comment #4 from Warner Losh <imp@FreeBSD.org> ---
NANDFS had heap big time issues, not least was that the groomer was moved into
the kernel. This normally wouldn't be terrible, but here there were two
problems: locking was all screwed up by it (or was just implemented badly) and
it always groomed, even when there was no new traffic, so the groomer slowly
would rewrite the NAND over and over and over again. I wore out a MLC part
while playing with it and tracked the issue down to this... That was in the
FreeBSD 8 or 9 time frame and by FreeBSD 10 it wasn't working at all (even with
this patch) and had all kinds of lock order issues because the locking
protocols evolved substantially over time, but no changes were made here.

It's kind of a bummer, but doing a good nandfs takes a lot of time and effort
and you have to keep up all the time on the latest nand parts / soc offload
engines / etc. And we had none of that.

-- 
You are receiving this mail because:
You are the assignee for the bug.