Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Sep 2023 13:36:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 272434] du and disk operations (like mv,cp,shutil.move/rmtree,os.rename) combination issues
Message-ID:  <bug-272434-227-0ksAOtl6CW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272434-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272434-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272434

--- Comment #9 from shamsher <meetshamsher@gmail.com> ---
lock order reversal:
 1st 0xfffff800028677f0 ufs (ufs, lockmgr) @ kern/vfs_mount.c:1742
 2nd 0xfffff8000286dcf0 devfs (devfs, lockmgr) @ kern/vfs_subr.c:3191
lock order devfs -> ufs established at:
#0 0xffffffff80682cbd at witness_checkorder+0x46d
#1 0xffffffff805eacf2 at lockmgr_lock_flags+0x172
#2 0xffffffff808617fd at ffs_lock+0x9d
#3 0xffffffff809bf090 at VOP_LOCK1_APV+0x40
#4 0xffffffff80711cd4 at _vn_lock+0x54
#5 0xffffffff806ef8fd at vfs_domount+0xf1d
#6 0xffffffff806edd02 at vfs_donmount+0x872
#7 0xffffffff806f24b7 at kernel_mount+0x57
#8 0xffffffff806f4e61 at parse_mount+0x4a1
#9 0xffffffff806f32e7 at vfs_mountroot+0x587
#10 0xffffffff805a9adf at start_init+0x1f
#11 0xffffffff805d5750 at fork_exit+0x80
#12 0xffffffff80916f1e at fork_trampoline+0xe
lock order ufs -> devfs attempted at:
#0 0xffffffff8068361c at witness_checkorder+0xdcc
#1 0xffffffff805eacf2 at lockmgr_lock_flags+0x172
#2 0xffffffff809bf090 at VOP_LOCK1_APV+0x40
#3 0xffffffff80711cd4 at _vn_lock+0x54
#4 0xffffffff806f9ed6 at vput_final+0x116
#5 0xffffffff8085f4ef at ffs_unmount+0x33f
#6 0xffffffff806f09eb at dounmount+0x43b
#7 0xffffffff806f053c at kern_unmount+0x2fc
#8 0xffffffff80943892 at amd64_syscall+0x122
#9 0xffffffff8091683e at fast_syscall_common+0xf8

can we change below value? looks like this having some impact:
debug.vn_lock_pair_pause_max

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272434-227-0ksAOtl6CW>