zpio-sanity.sh tests deadlock PREEMPT_RT_FULL kernel #5551

Open
clefru opened this Issue Jan 2, 2017 · 0 comments

Projects

None yet

1 participant

@clefru
Contributor
clefru commented Jan 2, 2017

ZPIOS tests fail under PREEMPT_RT_FULL kernels (aka realtime kernels). I understand that this out-of-mainline patch set probably isn't officially supported, but I'd like to track the issue nonetheless.

[   29.617915] SPL: Loaded module v0.7.0-rc2_9_gd6855fa (DEBUG mode)
[   29.670390] SPLAT: Loaded module v0.7.0-rc2_9_gd6855fa (DEBUG mode)
[   29.700291] zavl: module license 'CDDL' taints kernel.
[   29.700294] Disabling lock debugging due to kernel taint
[   32.465426] ZFS: Loaded module v0.7.0-rc2_99_g3500a14 (DEBUG mode), ZFS pool version 5000, ZFS filesystem version 5
[   32.682243] ZPIOS: Loaded module v0.7.0-rc2_99_g3500a14 (DEBUG mode)
[   32.853278] SPL: using hostid 0x00000000
[   35.824450] ZPIOS: Unloaded module v0.7.0-rc2_99_g3500a14 (DEBUG mode)
[   35.940108] ZPIOS: Loaded module v0.7.0-rc2_99_g3500a14 (DEBUG mode)
[  129.265410] random: crng init done
[  242.738908] INFO: task zpios:1869 blocked for more than 120 seconds.
[  242.738949]       Tainted: P           OE   4.8.0-1-rt-amd64 #1
[  242.738981] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  242.739005] zpios           D ffff9dec3fde9100     0  1869   1681 0x00000000
[  242.739013]  ffff9dec33924ec0 ffff9dec207f4ec0 ffffffff968a94b5 ffff9dec38a24000
[  242.739017]  ffff9dec33924ec0 ffff9dec38a23e18 ffff9dec355ee1d8 ffff9dec355ee2a8
[  242.739020]  ffff9dec355ee000 ffffffff96e0db23 ffff9dec341a3400 ffff9dec38a23e90
[  242.739023] Call Trace:
[  242.739055]  [<ffffffff968a94b5>] ? preempt_count_add+0x5/0xa0
[  242.739065]  [<ffffffff96e0db23>] ? schedule+0x43/0xd0
[  242.739071]  [<ffffffffc093cea5>] ? zpios_unlocked_ioctl+0x1565/0x19e0 [zpios]
[  242.739077]  [<ffffffff968c8b40>] ? wake_atomic_t_function+0x60/0x60
[  242.739080]  [<ffffffffc0320067>] ? 0xffffffffc0320067
[  242.739090]  [<ffffffff96a26b0f>] ? do_vfs_ioctl+0x9f/0x600
[  242.739092]  [<ffffffff96a26a75>] ? do_vfs_ioctl+0x5/0x600
[  242.739094]  [<ffffffff96a270e4>] ? SyS_ioctl+0x74/0x80
[  242.739098]  [<ffffffff96e116b6>] ? system_call_fast_compare_end+0xc/0x96
[  242.739102] INFO: task zpios_io/0:1969 blocked for more than 120 seconds.
[  242.739125]       Tainted: P           OE   4.8.0-1-rt-amd64 #1
[  242.739143] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  242.739235] zpios_io/0      D ffff9dec3fde9100     0  1969      2 0x00000000
[  242.739243]  ffff9dec207f4ec0 ffff9dec3a008000 ffffffff968a94b5 ffff9dec20800000
[  242.739247]  ffff9dec207f4ec0 ffff9dec34ad66a8 ffff9dec34ad66d0 ffff9dec34ad6600
[  242.739250]  ffff9dec355ee000 ffffffff96e0db23 ffff9dec207f4ec0 ffff9dec207ffec8
[  242.739254] Call Trace:
[  242.739258]  [<ffffffff968a94b5>] ? preempt_count_add+0x5/0xa0
[  242.739260]  [<ffffffff96e0db23>] ? schedule+0x43/0xd0
[  242.739263]  [<ffffffffc093b12e>] ? zpios_thread_main+0x62e/0xd80 [zpios]
[  242.739279]  [<ffffffffc093ab00>] ? zpios_dmu_object_create+0x120/0x120 [zpios]
[  242.739282]  [<ffffffff968a2bcd>] ? kthread+0xcd/0xf0
[  242.739285]  [<ffffffff96e118ef>] ? ret_from_fork+0x1f/0x40
[  242.739287]  [<ffffffff968a2b00>] ? kthread_worker_fn+0x150/0x150

System information

Type Version/Name
Distribution Name Debian
Distribution Version stretch/sid
Linux Kernel 4.8.0-1-rt-amd64
Architecture amd64
ZFS Version 3500a14
SPL Version d6855fa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment