Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-10] src/sys/kern



Module Name:    src
Committed By:   martin
Date:           Fri Nov 27 10:06:17 UTC 2026

Modified Files:
        src/sys/kern [netbsd-10]: vfs_wapbl.c

Log Message:
Pull up following revision(s) (requested by hannken in ticket #1425):

        sys/kern/vfs_wapbl.c: revision 1.118 (via patch)

The evaluation of resource shortage in wapbl_register_deallocation()
is incomplete as only "wl_dealloccnt" is checked.  Replace this check with
the doflush check from wapbl_begin() testing for 75% instead 50% to
make sure the next wapbl_begin() will always flush.

It is still a mitigation, for a fix the file system must provide an
upper bound for every transaction to wapbl_begin().

PR kern/47146 user-triggerable crash in wapbl_register_deallocation (confi)
PR kern/60621 (panic: ufs_inactive: dirty filesystem?)


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.112.4.1 src/sys/kern/vfs_wapbl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index