[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 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238565

Konstantin Belousov <kib_at_FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib_at_FreeBSD.org

--- Comment #5 from Konstantin Belousov <kib_at_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.
Received on Sat May 29 2021 - 10:37:04 UTC

Original text of this message