Re: kern/54504 (wapbl_end: current transaction too big to flush)

"Shinichi Doyashiki via gnats" <[email protected]> Sat, 25 Jul 2026 19:25:02 +0000 (UTC)
Newsgroups gmane.os.netbsd.bugs
Message-ID <[email protected]>
The following reply was made to PR kern/54504; it has been noted by GNATS.

From: Shinichi Doyashiki <[email protected]>
To: [email protected]
Cc: 
Subject: Re: kern/54504 (wapbl_end: current transaction too big to flush)
Date: Sun, 26 Jul 2026 04:20:07 +0900

         I experienced a kernel panic related to WAPBL while deleting files in -current kernel (11.99.7).
 
 [ 2060.0387792] panic: kernel diagnostic assertion "(wapbl_transaction_len(wl) <= (wl->wl_circ_size - wl->wl_reserved_bytes))" f
 ailed: file "../../../../kern/vfs_wapbl.c", line 1276 wapbl_end: current transaction too big to flush
 [ 2060.0597661] cpu0: Begin traceback...
 [ 2060.0597661] vpanic() at netbsd:vpanic+0x171
 [ 2060.0687804] kern_assert() at netbsd:kern_assert+0x4b
 [ 2060.0687804] wapbl_end() at netbsd:wapbl_end+0x79
 [ 2060.0799659] ufs_truncate_retry() at netbsd:ufs_truncate_retry+0x73
 [ 2060.0799659] ufs_inactive() at netbsd:ufs_inactive+0xfb
 [ 2060.0909720] VOP_INACTIVE() at netbsd:VOP_INACTIVE+0x3c
 [ 2060.0993160] vrelel() at netbsd:vrelel+0x1ae
 [ 2060.0993160] ufs_remove() at netbsd:ufs_remove+0x72
 [ 2060.1092391] VOP_REMOVE() at netbsd:VOP_REMOVE+0x81
 [ 2060.1092391] do_sys_unlinkat() at netbsd:do_sys_unlinkat+0x2bc
 [ 2060.1214031] syscall() at netbsd:syscall+0x9d
 [ 2060.1294988] --- syscall (number 10) ---
 [ 2060.1294988] netbsd:syscall+0x9d:
 [ 2060.1294988] cpu0: End traceback...