Am 2025-08-04 22:14, schrieb Konstantin Belousov:
On Mon, Aug 04, 2025 at 08:50:45PM +0200, Alexander Leidinger wrote:
Hi,

I have a crash with todays -current:
---snip---
[435] VNASSERT failed: locked not true at
/space/system/usr_src/sys/kern/vfs_subr.c:5795 (assert_vop_elocked)
[435] 0xfffff806746f2000: type VREG state VSTATE_CONSTRUCTED op
0xffffffff835474f8
[435]     usecount 1, writecount 1, refcount 1 seqc users 0
[435]     hold count flags ()
[435]     flags ()
[435] v_object 0xfffff80bd3abf0f8 ref 0 pages 0 cleanbuf 0 dirtybuf 0
[435]     lock type zfs: SHARED (count 1)
[435]   vp=0xfffff806746f2000, lowervp=0xfffff806749bd370
[435] panic: fsync: vnode is not exclusive locked but should be

This is nullfs over zfs.  Try https://reviews.freebsd.org/D51730.
It should fix the issue, but I did not tested.

I confirm, no panic anymore.

Bye,
Alexander.

--
http://www.Leidinger.net [email protected]: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    [email protected]  : PGP 0x8F31830F9F2772BF

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to