[Bug 238565] panic: vinvalbuf: dirty bufs during unmount if clustered writes return errors

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 29 May 2021 10:37:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238565

Konstantin Belousov <kib@FreeBSD.org> changed:

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

--- Comment #5 from Konstantin Belousov <kib@FreeBSD.org> ---
I do not understand the complain.

We do panic if there are dirty buffers discovered on a vnode at vflush() time.
It does not matter how the dirty buffer (AKA delayed-write buffer) was created,
by bdwrite() or by cluster_write().

Right now we panic on assumption that the presence of the dirty buffers that
we unable to write, either compromises filesystem metadata integrity, or
causes user data corruption.

We might consider adding a knob to (not very silently) ignore and destroy
such buffers on vflush().

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