Bug #2909
openzfs: assert at ../../common/fs/zfs/bptree.c: line 195
0%
Description
headcommit: 13716:3db0c1979163
image uuid: 407e5701-35ce-661a-f1ee-d3820a8b5da5
panic message: assertion failed: err 0 || err ERESTART, file: ../../common/fs/zfs/bptree.c, line: 195
vpanic()
assfail+0x7e(fffffffff79ce350, fffffffff79ce438, c3)
bptree_iterate+0x408(ffffff00bd4bb080, 83, 1, fffffffff7941620, ffffff00c212f600, ffffff00bf67e580)
dsl_scan_sync+0x1e1(ffffff00bf64be00, ffffff00bf67e580)
spa_sync+0x3fc(ffffff0173276000, 39)
txg_sync_thread+0x2c4(ffffff00bf64be00)
thread_start+8()
testcase:
while true; do sh cmds2; done
cmds2:
zpool export testpool
mkfile 100m diskfile
zpool create testpool $PWD/diskfile
zfs create testpool/data
mkfile 1M /testpool/data/f1
zfs snapshot testpool/data@1
mkfile 20M /testpool/data/f1
zfs snapshot testpool/data@2
zfs send -i @1 testpool/data@2 > t2
zfs rollback -r testpool/data@1
cat t2 | zfs recv testpool/data &
Updated by Vitaliy Gusev almost 11 years ago
for OpenIndiana 151a4 assert is differ:
::status
debugging crash dump vmcore.2 (64-bit) from oi151
operating system: 5.11 oi_151a4 (i86pc)
image uuid: 30d64548-6d79-4600-c8ff-f56a2afed483
panic message:
assertion failed: 0 zap_increment_int(os, (-1ULL), user, delta, tx) (0x0 0x32), file: ../../common/fs/z
fs/dmu_objset.c, line: 1212
::stack
vpanic()
assfail3+0xc1(fffffffff7a818b8, 0, fffffffff7a81958, 32, fffffffff7a81c28, 4bc)
do_userquota_update+0xc1(ffffff00c9a3b640, 400, 3, 0, 0, 1)
dmu_objset_do_userquota_updates+0xd0(ffffff00c9a3b640, ffffff00c9c990a8)
dsl_pool_sync+0x112(ffffff00c5af7600, 2c)
spa_sync+0x38d(ffffff00c0e55580, 2c)
txg_sync_thread+0x247(ffffff00c5af7600)
thread_start+8()
Updated by Vitaliy Gusev almost 11 years ago
for OpenIndiana 151a3 (before async destroy changes) assert is:
debugging crash dump vmcore.5 (64-bit) from oi151
operating system: 5.11 oi_151a3 (i86pc)
image uuid: b5c9cdb5-6191-6b0a-9dff-a72e3cc5c9db
panic message:
assertion failed: sm->sm_space 0 (0x3800 0x0), file: ../../common/fs/zfs/space_map.c, line: 76
dump content: kernel pages only
::stack
vpanic()
assfail3+0xc1(fffffffff7a89260, 3800, fffffffff7a89258, 0, fffffffff7a89238, 4c)
space_map_destroy+0x54(ffffff00c42588b8)
metaslab_fini+0xcf(ffffff00c4258540)
vdev_metaslab_fini+0xca(ffffff00c1645700)
vdev_free+0x63(ffffff00c1645700)
vdev_free+0x43(ffffff00c1646380)
spa_unload+0xb7(ffffff00bbcb5540)
spa_export_common+0x1d9(ffffff00c2023000, 1, 0, 0, 0)
spa_export+0x2f(ffffff00c2023000, 0, 0, 0)
zfs_ioc_pool_export+0x41(ffffff00c2023000)
zfsdev_ioctl+0x15e(b300000000, 5a03, 8042320, 100003, ffffff00c20ea750, ffffff00028d1de4)
cdev_ioctl+0x45(b300000000, 5a03, 8042320, 100003, ffffff00c20ea750, ffffff00028d1de4)
spec_ioctl+0x5a(ffffff00bccc2d00, 5a03, 8042320, 100003, ffffff00c20ea750, ffffff00028d1de4)
fop_ioctl+0x7b(ffffff00bccc2d00, 5a03, 8042320, 100003, ffffff00c20ea750, ffffff00028d1de4)
ioctl+0x18e(3, 5a03, 8042320)