Skip to content

VERIFY3(*refcount_cache == atomic_swap_64(refcount_cache, refcount)) failed (115310 == 115309) #17478

Open
@roedie

Description

@roedie

System information

Type Version/Name
Distribution Name Debian GNU/Linux
Distribution Version 12
Kernel Version 6.1.0-32-amd64 (6.1.129)
Architecture AMD64
OpenZFS Version 2.3.1

Describe the problem you're observing

Sudden pool hang with a panic.

Describe how to reproduce the problem

No reproducer as of now

Include any warning/errors/backtraces from the system logs

2025-06-21T02:00:01.253834+02:00 zhead01b kernel: [6134424.836553] VERIFY3(*refcount_cache == atomic_swap_64(refcount_cache, refcount)) failed (115310 == 115309)
2025-06-21T02:00:01.254962+02:00 zhead01b kernel: [6134424.836601] PANIC at zfeature.c:323:feature_sync()
2025-06-21T02:00:01.254966+02:00 zhead01b kernel: [6134424.836619] Showing stack for process 9689
2025-06-21T02:00:01.254968+02:00 zhead01b kernel: [6134424.836621] CPU: 32 PID: 9689 Comm: dp_sync_taskq Tainted: P           OE      6.1.0-32-amd64 #1  Debian 6.1.129-1
2025-06-21T02:00:01.254972+02:00 zhead01b kernel: [6134424.836625] Hardware name: Supermicro SSG-2029P-DN2R24L/X11DSN-TS, BIOS 4.0 06/20/2023
2025-06-21T02:00:01.254973+02:00 zhead01b kernel: [6134424.836627] Call Trace:
2025-06-21T02:00:01.254975+02:00 zhead01b kernel: [6134424.836630]  <TASK>
2025-06-21T02:00:01.254976+02:00 zhead01b kernel: [6134424.836636]  dump_stack_lvl+0x44/0x5c
2025-06-21T02:00:01.254980+02:00 zhead01b kernel: [6134424.836648]  spl_panic+0xf0/0x108 [spl]
2025-06-21T02:00:01.254981+02:00 zhead01b kernel: [6134424.836678]  feature_sync+0x10b/0x110 [zfs]
2025-06-21T02:00:01.254983+02:00 zhead01b kernel: [6134424.836927]  bpobj_decr_empty+0x2f/0xf0 [zfs]
2025-06-21T02:00:01.254994+02:00 zhead01b kernel: [6134424.837101]  dsl_deadlist_insert+0x2c8/0x370 [zfs]
2025-06-21T02:00:01.254996+02:00 zhead01b kernel: [6134424.837338]  dsl_dataset_block_kill+0x2c9/0x590 [zfs]
2025-06-21T02:00:01.254997+02:00 zhead01b kernel: [6134424.837562]  free_blocks+0xe6/0x1d0 [zfs]
2025-06-21T02:00:01.254999+02:00 zhead01b kernel: [6134424.837801]  free_children+0x368/0x3c0 [zfs]
2025-06-21T02:00:01.255000+02:00 zhead01b kernel: [6134424.838023]  dnode_sync_free_range+0x138/0x290 [zfs]
2025-06-21T02:00:01.255001+02:00 zhead01b kernel: [6134424.838231]  ? free_children+0x3c0/0x3c0 [zfs]
2025-06-21T02:00:01.255001+02:00 zhead01b kernel: [6134424.838457]  zfs_range_tree_walk+0xb8/0x1e0 [zfs]
2025-06-21T02:00:01.255002+02:00 zhead01b kernel: [6134424.838707]  dnode_sync+0x3ae/0xb80 [zfs]
2025-06-21T02:00:01.255003+02:00 zhead01b kernel: [6134424.838939]  ? __slab_free+0xbf/0x2d0
2025-06-21T02:00:01.255005+02:00 zhead01b kernel: [6134424.838949]  ? dnode_multilist_index_func+0x25/0x40 [zfs]
2025-06-21T02:00:01.255005+02:00 zhead01b kernel: [6134424.839214]  sync_dnodes_task+0x92/0x180 [zfs]
2025-06-21T02:00:01.255006+02:00 zhead01b kernel: [6134424.839476]  taskq_thread+0x32e/0x6f0 [spl]
2025-06-21T02:00:01.255007+02:00 zhead01b kernel: [6134424.839498]  ? wake_up_q+0x90/0x90
2025-06-21T02:00:01.255009+02:00 zhead01b kernel: [6134424.839505]  ? dmu_objset_userquota_find_data.part.0.isra.0+0x80/0x80 [zfs]
2025-06-21T02:00:01.255011+02:00 zhead01b kernel: [6134424.839720]  ? taskq_thread_spawn+0x60/0x60 [spl]
2025-06-21T02:00:01.255011+02:00 zhead01b kernel: [6134424.839738]  kthread+0xd7/0x100
2025-06-21T02:00:01.255012+02:00 zhead01b kernel: [6134424.839744]  ? kthread_complete_and_exit+0x20/0x20
2025-06-21T02:00:01.255013+02:00 zhead01b kernel: [6134424.839748]  ret_from_fork+0x1f/0x30
2025-06-21T02:00:01.255015+02:00 zhead01b kernel: [6134424.839756]  </TASK>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: DefectIncorrect behavior (e.g. crash, hang)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions