[Bug 293198] zfs deadlock while copying many files, vfs_deleteextattr_dir-related?
| Newsgroups | gmane.os.freebsd.devel.file-systems |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293198 Rick Macklem <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected], | |[email protected] --- Comment #1 from Rick Macklem <[email protected]> --- I looked at this and replied to his email to freebsd-fs@. It looks like the hang occurs when zfs_enter() tries to acquire a read lock on z_teardown_lock via ZFS_TEARDOWN_ENTER_READ(). There are a bunch of these near the end of the procstat -kk -a. (The extattr one is just one of them.) I think this means that something holds a write lock on z_teardown_lock for the file system. At a glance, a call to zfs_suspend_fs() seems like a possible culprit, but I really have no idea what might acquire a write lock on z_teardown_lock or if there is another reason that ZFS_TEARDOWN_ENTER_READ() wouldn't be able to get the read lock? --> There is this line in the procstat... 0 100204 kernel deferred_unmount ta mi_switch+0xbc _sleep+0x19e taskqueue_thread_loop+0xb1 fork_exit+0x7b fork_trampoline+0xe --> I have no idea what this deferred_unmount is referring to? -- You are receiving this mail because: You are the assignee for the bug.