Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Oct 2018 23:37:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 229614] ZFS lockup in zil_commit_impl
Message-ID:  <bug-229614-3630-wau5OQdMBz@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229614-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229614-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229614

--- Comment #20 from Allan Jude <allanjude@FreeBSD.org> ---
in my recreation:

55649 100482 python3.6           -                   mi_switch+0xe6
sleepq_wait+0x2c _sx_xlock_hard+0x306 zil_commit_impl+0x11d
zfs_freebsd_putpages+0x635 VOP_PUTPAGES_APV+0x82 vnode_pager_putpages+0x8e
vm_pageout_flush+0xea vm_object_page_collect_flush+0x213
vm_object_page_clean+0x146 vm_object_terminate+0x93 zfs_freebsd_reclaim+0x1e
VOP_RECLAIM_APV+0x82 vgonel+0x208 vrecycle+0x4a zfs_freebsd_inactive+0xd
VOP_INACTIVE_APV+0x82 vinactive+0xfc


the sync process does seem to be making doing work, but not making progress:

sampled 10000 times:

 NUM PID    TID COMM                TDNAME              KSTACK=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
   1 56618 100457 sync                -                   mi_switch
critical_exit intr_event_handle intr_execute_handlers lapic_handle_intr
Xapic_isr1 dbuf_read dmu_bonus_hold zfs_zget zfs_get_data zil_commit_impl
zfs_sync sys_sync amd64_syscall fast_syscall_common
   1 56618 100457 sync                -                   mi_switch
critical_exit ipi_bitmap_handler Xipi_intr_bitmap_handler VOP_ISLOCKED_APV
zfs_zget zfs_get_data zil_commit_impl zfs_sync sys_sync amd64_syscall
fast_syscall_common
   1 56618 100457 sync                -                   mi_switch
critical_exit ipi_bitmap_handler Xipi_intr_bitmap_handler zfs_get_data
zil_commit_impl zfs_sync sys_sync amd64_syscall fast_syscall_common
  23 56618 100457 sync                -                   VOP_ISLOCKED_APV
zfs_zget zfs_get_data zil_commit_impl zfs_sync sys_sync amd64_syscall
fast_syscall_common
 112 56618 100457 sync                -                   arc_access
arc_buf_access dbuf_hold_impl dbuf_hold dnode_hold_impl dmu_bonus_hold zfs_=
zget
zfs_get_data zil_commit_impl zfs_sync sys_sync amd64_syscall
fast_syscall_common
 118 56618 100457 sync                -                   dnode_rele
dmu_bonus_hold zfs_zget zfs_get_data zil_commit_impl zfs_sync sys_sync
amd64_syscall fast_syscall_common
 148 56618 100457 sync                -                   vref zfs_zget
zfs_get_data zil_commit_impl zfs_sync sys_sync amd64_syscall
fast_syscall_common
 150 56618 100457 sync                -                   dbuf_find
dbuf_hold_impl dbuf_hold dnode_hold_impl dmu_bonus_hold zfs_zget zfs_get_da=
ta
zil_commit_impl zfs_sync sys_sync amd64_syscall fast_syscall_common
 248 56618 100457 sync                -                   dbuf_hold
dnode_hold_impl dmu_bonus_hold zfs_zget zfs_get_data zil_commit_impl zfs_sy=
nc
sys_sync amd64_syscall fast_syscall_common
 263 56618 100457 sync                -                   vputx zfs_zget
zfs_get_data zil_commit_impl zfs_sync sys_sync amd64_syscall
fast_syscall_common
 273 56618 100457 sync                -=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20
dmu_object_info_from_dnode dmu_object_info_from_db zfs_zget zfs_get_data
zil_commit_impl zfs_sync sys_sync amd64_syscall fast_syscall_common
 292 56618 100457 sync                -                   zfs_get_data
zil_commit_impl zfs_sync sys_sync amd64_syscall fast_syscall_common
 428 56618 100457 sync                -                   <running>=20=20=
=20=20=20=20=20=20=20=20=20=20=20
 458 56618 100457 sync                -                   arc_buf_access
dbuf_hold_impl dbuf_hold dnode_hold_impl dmu_bonus_hold zfs_zget zfs_get_da=
ta
zil_commit_impl zfs_sync sys_sync amd64_syscall fast_syscall_common
 572 56618 100457 sync                -=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20
dmu_object_info_from_db zfs_zget zfs_get_data zil_commit_impl zfs_sync sys_=
sync
amd64_syscall fast_syscall_common
 671 56618 100457 sync                -                   dbuf_read
dmu_bonus_hold zfs_zget zfs_get_data zil_commit_impl zfs_sync sys_sync
amd64_syscall fast_syscall_common
 690 56618 100457 sync                -                   dbuf_read
dnode_hold_impl dmu_bonus_hold zfs_zget zfs_get_data zil_commit_impl zfs_sy=
nc
sys_sync amd64_syscall fast_syscall_common
 937 56618 100457 sync                -                   dbuf_hold_impl
dbuf_hold dnode_hold_impl dmu_bonus_hold zfs_zget zfs_get_data zil_commit_i=
mpl
zfs_sync sys_sync amd64_syscall fast_syscall_common
1272 56618 100457 sync                -                   dmu_bonus_hold
zfs_zget zfs_get_data zil_commit_impl zfs_sync sys_sync amd64_syscall
fast_syscall_common
1433 56618 100457 sync                -                   dnode_hold_impl
dmu_bonus_hold zfs_zget zfs_get_data zil_commit_impl zfs_sync sys_sync
amd64_syscall fast_syscall_common
1909 56618 100457 sync                -                   zfs_zget zfs_get_=
data
zil_commit_impl zfs_sync sys_sync amd64_syscall fast_syscall_common

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229614-3630-wau5OQdMBz>