Date: Mon, 14 Jun 2010 21:50:32 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Bruce Cran <bruce@cran.org.uk> Cc: bzeeb+freebsd+lor@zabbadoz.net, freebsd-current@freebsd.org Subject: Re: ZFS LORs: syncer vs. zfs and devfs vs. zfs Message-ID: <20100614185031.GJ13238@deviant.kiev.zoral.com.ua> In-Reply-To: <20100614170000.GA41366@muon.cran.org.uk> References: <20100614170000.GA41366@muon.cran.org.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--CZb08McUREi1kVi+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 14, 2010 at 05:00:00PM +0000, Bruce Cran wrote: > I got the attached ZFS LORs when building ports on a new install of=20 > 9.0-CURRENT-20100610-JPSNAP. I know there have been some ZFS checkins in = the=20 > last few days so I don't know if they've already been fixed? The LORs are not specific to ZFS, are caused by VFS layer, and I my recollection is that they are false positives. >=20 > --=20 > Bruce >=20 >=20 > lock order reversal: > 1st 0xffffff000a846458 zfs (zfs) @ /usr/src/sys/kern/vfs_mount.c:1201 > 2nd 0xffffff000a846638 devfs (devfs) @ /usr/src/sys/ufs/ffs/ffs_vfsops.c= :1250 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > _witness_debugger() at _witness_debugger+0x2e > witness_checkorder() at witness_checkorder+0x81e > __lockmgr_args() at __lockmgr_args+0xd11 > vop_stdlock() at vop_stdlock+0x39 > VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b > _vn_lock() at _vn_lock+0x47 > ffs_flushfiles() at ffs_flushfiles+0xb5 > ffs_unmount() at ffs_unmount+0x70 > dounmount() at dounmount+0x2e6 > unmount() at unmount+0x27e > syscallenter() at syscallenter+0xf0 > syscall() at syscall+0x4c > Xfast_syscall() at Xfast_syscall+0xe1 > --- syscall (22, FreeBSD ELF64, unmount), rip =3D 0x8006a23ec, rsp =3D 0x= 7fffffffe3c8, rbp =3D 0x800c09bb0 --- >=20 > lock order reversal: > 1st 0xffffff000a857bd8 syncer (syncer) @ /usr/src/sys/kern/vfs_subr.c:17= 13 > 2nd 0xffffff0127b389f8 zfs (zfs) @ /usr/src/sys/modules/zfs/../../cddl/c= ontrib/opensolaris/uts/common/fs/zfs/zfs_znode.c:152 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > _witness_debugger() at _witness_debugger+0x2e > witness_checkorder() at witness_checkorder+0x81e > __lockmgr_args() at __lockmgr_args+0xd11 > vop_stdlock() at vop_stdlock+0x39 > VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b > _vn_lock() at _vn_lock+0x47 > zfs_znode_cache_constructor() at zfs_znode_cache_constructor+0x57 > zfs_znode_alloc() at zfs_znode_alloc+0x39 > zfs_zget() at zfs_zget+0x2a7 > zfs_get_data() at zfs_get_data+0x4d > zil_commit() at zil_commit+0x532 > zfs_sync() at zfs_sync+0xa6 > sync_fsync() at sync_fsync+0x13a > sync_vnode() at sync_vnode+0x157 > sched_sync() at sched_sync+0x1d1 > fork_exit() at fork_exit+0x12a > fork_trampoline() at fork_trampoline+0xe > --- trap 0, rip =3D 0, rsp =3D 0xffffff8323b0ad30, rbp =3D 0 --- > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" --CZb08McUREi1kVi+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkwWefcACgkQC3+MBN1Mb4gmdACfbC6zUrRpylMFeBpTpjWeI+ev q6MAnjXf0rJ3HOyR9HSkjQVkNoseNwFJ =cioG -----END PGP SIGNATURE----- --CZb08McUREi1kVi+--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100614185031.GJ13238>