ZFS: LOR's

From: Larry Rosenman <ler_at_lerctr.org>
Date: Tue, 10 Apr 2007 22:48:10 -0500 (CDT)
With a today current, I ran through PJD's quick start, then looked at my
dmesg and found:
lock order reversal:
  1st 0xffffff00a5b9f438 zfs:&dr->dt.di.dr_mtx (zfs:&dr->dt.di.dr_mtx) _at_ /usr/src                                         /sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dbuf.c:1865
  2nd 0xffffff00b655b148 zfs:&db->db_mtx (zfs:&db->db_mtx) _at_ /usr/src/sys/modules                                         /zfs/../../contrib/opensolaris/uts/common/fs/zfs/dbuf.c:1836
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x3a
witness_checkorder() at witness_checkorder+0x4f9
_sx_xlock() at _sx_xlock+0x3a
dbuf_sync_list() at dbuf_sync_list+0x7e
dbuf_sync_list() at dbuf_sync_list+0x114
dnode_sync() at dnode_sync+0x1ec
dmu_objset_sync() at dmu_objset_sync+0xec
dsl_pool_sync() at dsl_pool_sync+0x65
spa_sync() at spa_sync+0x309
txg_sync_thread() at txg_sync_thread+0x166
fork_exit() at fork_exit+0xaa
fork_trampoline() at fork_trampoline+0xe
--- trap 0, rip = 0, rsp = 0xffffffffb2102d30, rbp = 0 ---
lock order reversal:
  1st 0xffffff00332a56e8 zfs:&db->db_mtx (zfs:&db->db_mtx) _at_ /usr/src/sys/modules                                         /zfs/../../contrib/opensolaris/uts/common/fs/zfs/dbuf.c:1680
  2nd 0xffffff00a87b4270 zfs:&dn->dn_dbufs_mtx (zfs:&dn->dn_dbufs_mtx) _at_ /usr/src                                         /sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dnode_sync.c:364
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x3a
witness_checkorder() at witness_checkorder+0x4f9
_sx_xlock() at _sx_xlock+0x3a
dnode_evict_dbufs() at dnode_evict_dbufs+0x65
dmu_objset_evict_dbufs() at dmu_objset_evict_dbufs+0x10b
dmu_objset_evict() at dmu_objset_evict+0x30
dsl_dataset_evict() at dsl_dataset_evict+0x9e
dbuf_evict_user() at dbuf_evict_user+0x44
dbuf_rele() at dbuf_rele+0xfe
dsl_pool_zil_clean() at dsl_pool_zil_clean+0x37
spa_sync() at spa_sync+0x44a
txg_sync_thread() at txg_sync_thread+0x166
fork_exit() at fork_exit+0xaa
fork_trampoline() at fork_trampoline+0xe
--- trap 0, rip = 0, rsp = 0xffffffffb2102d30, rbp = 0 ---
borg#


This is with a GENERIC kernel.

I can get more info if you want.

The zpool is on 5 SATA 400G Disks, if that means anything.

LER


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                 E-Mail: ler_at_lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
Received on Wed Apr 11 2007 - 01:48:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:08 UTC