-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Test case: zpool_destroy_001_pos #6145
Comments
Not sure if I can get my hands on m3.large instance, so will try other environments; looking at the stack traces above, I believe blkid takes It seems there should be another thread that took a zvol-level lock and blocked (or did not release it ?) |
@bprotopopov thanks. It looks like Amazon's kernel is largely a stock 4.9.27 with some additional drivers added and a few small bug fixes. There doesn't appear to be any significant change in this area of the code. This should be reproducible elsewhere, but it does seems to be easy to reproduce in this environment. Here's the full console log from another instance of the deadlock, issue-6145.txt. It looks like we've got three processes involved, blkid:7776, lt-zpool:7624, losetup:7859. |
@behlendorf
|
The merged log of the test:
|
Hi, @behlendorf, |
Run zpool_destroy_001_pos 50 times with a 30 seconds timeout. Requires-builders: test Signed-off-by: Brian Behlendorf <[email protected]> Issue openzfs#6145
@bprotopopov thanks for trying to reproduce this. I haven't been able to reproduce problem either outside of Amazon's ec2 environment. One possible way to tackle this would be to open a PR with enables As a proof off concept I've opened PR #6168 which will runs |
This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions. |
System information
Describe the problem you're observing
Reliable deadlock when running
zpool_destory_001_pos
. This test case creates a zpool layered on a ZVOL which is known to be problematic. Commits 5559ba0 and 0778358 were designed to allow this and do appear to work reliably on other platforms, but not always.Describe how to reproduce the problem
echo "options loop max_part=15" >/etc/modprobe.d/loop.conf
sudo ./scripts/zfs-helpers.sh -iv
to install the zfs udev rules.sudo ./scripts/zfs.sh
to load the zfs kernel modules.zpool_destroy_001_pos.ksh
test case to run the original non-linux version of the test../scripts/zfs-tests.sh -vx -t ./tests/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy_001_pos.ksh
.Include any warning/errors/backtraces from the system logs
The text was updated successfully, but these errors were encountered: