Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deadlock with crashdump #2304

Closed
lukemarsden opened this issue May 6, 2014 · 4 comments
Closed

Deadlock with crashdump #2304

lukemarsden opened this issue May 6, 2014 · 4 comments
Milestone

Comments

@lukemarsden
Copy link

I've started collecting kernel crashdumps and dmesg output of the ZoL deadlocks I'm able to reproduce:

http://hybridcluster.net/zol-hangs/201405060819/

This is now on Ubuntu 14.04, with kernel 3.13.0-24-generic #47-Ubuntu SMP, and the following zfs module info:

filename:       /lib/modules/3.13.0-24-generic/updates/dkms/zfs.ko
version:        0.6.2-2.1~trusty~13.gbp7d6f55
license:        CDDL
author:         Sun Microsystems/Oracle, Lawrence Livermore National Laboratory
description:    ZFS
srcversion:     8EAC8D11923CD437A7B0573

The machine was potentially running concurrent snapshot/destroy/mount/unmount operations at the time of the deadlock. Hopefully the crashdump will elucidate us.

@ryao
Copy link
Contributor

ryao commented May 6, 2014

I suspect that this was fixed by the synctask rewrite @ahrens did. It is in HEAD for the upcoming 0.6.3 release.

@lukemarsden
Copy link
Author

I've upgraded to HEAD and I'm still seeing deadlocks, modinfo zfs:

filename:       /lib/modules/3.13.0-24-generic/extra/zfs/zfs/zfs.ko
version:        0.6.2-274_g2c33b91
license:        CDDL
author:         Sun Microsystems/Oracle, Lawrence Livermore National Laboratory
description:    ZFS
srcversion:     F6471B3005F520F80BF2AD5

Latest kernel crashdump: http://hybridcluster.net/zol-hangs/201405061448/

(Sorry, guess I didn't wait long enough for stacks to show up in the dmesg output before generating the crashdump - but it was definitely hung on zpool status).

@behlendorf
Copy link
Contributor

This deadlock looks like the same root cause as #2301.

@behlendorf behlendorf added this to the 0.7.0 milestone May 7, 2014
@behlendorf behlendorf added the Bug label May 7, 2014
@behlendorf
Copy link
Contributor

Closing as a duplicate of #2301 was has been resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants