Project

General

Profile

Actions

Bug #10445

open

ZFS assertion failed in dsl_scan.c:1697 on snapshot destruction

Added by Hans Rosenfeld over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2019-02-24
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

I just switched one of my OI machines to DEBUG bits to do some kernel work there. A few minutes after booting time slider destroyed an old snapshot, which triggered this assertion failure. While I was typing this it happened again, so it's easily reproducable.

panic[cpu1]/thread=ffffd000402d2c40: assertion failed: dsl_dir_phys(dp->dp_free_dir)->dd_used_bytes == 0 (0x14000 == 0x0), file: ../../common/fs/zfs/dsl_scan.c, line: 1697
> $C
ffffd000402d2970 vpanic()
ffffd000402d29c0 0xfffffffffbe0c59d()
ffffd000402d2a20 dsl_process_async_destroys+0x4da(ffffd00d5fa4a600, ffffd00df0047a00)
ffffd000402d2a80 dsl_scan_sync+0x116(ffffd00d5fa4a600, ffffd00df0047a00)
ffffd000402d2b50 spa_sync+0x533(ffffd00d5ac7e000, 236c191)
ffffd000402d2c20 txg_sync_thread+0x297(ffffd00d5fa4a600)
ffffd000402d2c30 thread_start+8()
> ::ps ! grep zfs
R 103615 101329 101329 101329      0 0x5a006000 ffffd00ebc451040 zfs
> ffffd00ebc451040::ps -f
S    PID   PPID   PGID    SID    UID      FLAGS             ADDR NAME
R 103615 101329 101329 101329      0 0x5a006000 ffffd00ebc451040 
/usr/sbin/zfs destroy -d export/home/woodstoc@zfs-auto-snap_frequent-2019-02-24
Actions

Also available in: Atom PDF