* [regression] ndctl destroy-namespace operation hang from 5.15.0-rc6
@ 2021-10-18 11:10 Yi Zhang
2021-10-18 11:16 ` Fwd: " Yi Zhang
2021-10-18 16:13 ` Yi Zhang
0 siblings, 2 replies; 4+ messages in thread
From: Yi Zhang @ 2021-10-18 11:10 UTC (permalink / raw)
To: linux-nvdimm, linux-block
Hello
This regression was introduced from 5.15.0-rc6, pls help check it, thanks.
# ndctl list -N
[
{
"dev":"namespace1.0",
"mode":"fsdax",
"map":"dev",
"size":16909336576,
"uuid":"979a045b-6fac-4755-904d-3283a561c74d",
"sector_size":512,
"align":2097152,
"blockdev":"pmem1"
}
]
# ndctl destroy-namespace all -r all -f ---> hang
[ 246.608610] INFO: task ndctl:1934 blocked for more than 122 seconds.
[ 246.614973] Tainted: G S I 5.15.0-rc6 #1
[ 246.620546] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[ 246.628373] task:ndctl state:D stack: 0 pid: 1934
ppid: 1896 flags:0x00004000
[ 246.628377] Call Trace:
[ 246.628379] __schedule+0x382/0x8c0
[ 246.628385] schedule+0x3a/0xa0
[ 246.628386] blk_mq_freeze_queue_wait+0x62/0x90
[ 246.628391] ? finish_wait+0x80/0x80
[ 246.628396] del_gendisk+0xbb/0x210
[ 246.628399] release_nodes+0x39/0xa0
[ 246.628403] devres_release_all+0x88/0xc0
[ 246.628406] device_release_driver_internal+0x107/0x1e0
[ 246.628410] unbind_store+0xf0/0x120
[ 246.628412] kernfs_fop_write_iter+0x12d/0x1c0
[ 246.628416] new_sync_write+0x11f/0x1b0
[ 246.628420] vfs_write+0x184/0x260
[ 246.628422] ksys_write+0x59/0xd0
[ 246.628423] do_syscall_64+0x37/0x80
[ 246.628426] entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 246.628430] RIP: 0033:0x7f1b0c7db648
[ 246.628432] RSP: 002b:00007ffd68b47088 EFLAGS: 00000246 ORIG_RAX:
0000000000000001
[ 246.628433] RAX: ffffffffffffffda RBX: 000000000074cb60 RCX: 00007f1b0c7db648
[ 246.628435] RDX: 0000000000000007 RSI: 000000000074cb60 RDI: 0000000000000006
[ 246.628436] RBP: 0000000000000007 R08: 000000000074cb20 R09: 00007f1b0c86e620
[ 246.628436] R10: 0000000000000016 R11: 0000000000000246 R12: 0000000000000006
[ 246.628437] R13: 00007f1b0d92c7e8 R14: 0000000000000000 R15: 000000000074c820
[ 369.483990] INFO: task ndctl:1934 blocked for more than 245 seconds.
[ 369.490348] Tainted: G S I 5.15.0-rc6 #1
[ 369.495922] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[ 369.503747] task:ndctl state:D stack: 0 pid: 1934
ppid: 1896 flags:0x00004000
[ 369.503750] Call Trace:
[ 369.503752] __schedule+0x382/0x8c0
[ 369.503757] schedule+0x3a/0xa0
[ 369.503759] blk_mq_freeze_queue_wait+0x62/0x90
[ 369.503763] ? finish_wait+0x80/0x80
[ 369.503768] del_gendisk+0xbb/0x210
[ 369.503771] release_nodes+0x39/0xa0
[ 369.503774] devres_release_all+0x88/0xc0
[ 369.503778] device_release_driver_internal+0x107/0x1e0
[ 369.503782] unbind_store+0xf0/0x120
[ 369.503784] kernfs_fop_write_iter+0x12d/0x1c0
[ 369.503788] new_sync_write+0x11f/0x1b0
[ 369.503792] vfs_write+0x184/0x260
[ 369.503793] ksys_write+0x59/0xd0
[ 369.503795] do_syscall_64+0x37/0x80
[ 369.503797] entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 369.503801] RIP: 0033:0x7f1b0c7db648
[ 369.503803] RSP: 002b:00007ffd68b47088 EFLAGS: 00000246 ORIG_RAX:
0000000000000001
[ 369.503805] RAX: ffffffffffffffda RBX: 000000000074cb60 RCX: 00007f1b0c7db648
[ 369.503806] RDX: 0000000000000007 RSI: 000000000074cb60 RDI: 0000000000000006
[ 369.503807] RBP: 0000000000000007 R08: 000000000074cb20 R09: 00007f1b0c86e620
[ 369.503808] R10: 0000000000000016 R11: 0000000000000246 R12: 0000000000000006
[ 369.503809] R13: 00007f1b0d92c7e8 R14: 0000000000000000 R15: 000000000074c820
[ 492.359355] INFO: task kworker/u64:17:188 blocked for more than 122 seconds.
[ 492.366399] Tainted: G S I 5.15.0-rc6 #1
[ 492.371973] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[ 492.379796] task:kworker/u64:17 state:D stack: 0 pid: 188
ppid: 2 flags:0x00004000
[ 492.379800] Workqueue: nfit acpi_nfit_scrub [nfit]
[ 492.379806] Call Trace:
[ 492.379807] __schedule+0x382/0x8c0
[ 492.379811] schedule+0x3a/0xa0
[ 492.379813] schedule_preempt_disabled+0xa/0x10
[ 492.379815] __mutex_lock.isra.11+0x329/0x440
[ 492.379818] nd_device_notify+0x1e/0x50 [libnvdimm]
[ 492.379827] ? nd_region_conflict+0x70/0x70 [libnvdimm]
[ 492.379837] child_notify+0xc/0x10 [libnvdimm]
[ 492.379847] device_for_each_child+0x54/0x90
[ 492.379850] nd_region_notify+0x3a/0xd0 [libnvdimm]
[ 492.379860] nd_device_notify+0x3b/0x50 [libnvdimm]
[ 492.379867] ars_complete+0x68/0xa0 [nfit]
[ 492.379871] acpi_nfit_scrub+0xa1/0x3a0 [nfit]
[ 492.379875] ? __switch_to_asm+0x42/0x70
[ 492.379878] ? finish_task_switch+0xaf/0x2c0
[ 492.379881] process_one_work+0x1cb/0x370
[ 492.379883] worker_thread+0x30/0x380
[ 492.379885] ? process_one_work+0x370/0x370
[ 492.379887] kthread+0x118/0x140
[ 492.379889] ? set_kthread_struct+0x40/0x40
[ 492.379891] ret_from_fork+0x1f/0x30
[ 492.379912] INFO: task ndctl:1934 blocked for more than 368 seconds.
[ 492.386262] Tainted: G S I 5.15.0-rc6 #1
[ 492.391834] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[ 492.399659] task:ndctl state:D stack: 0 pid: 1934
ppid: 1896 flags:0x00004000
[ 492.399661] Call Trace:
[ 492.399662] __schedule+0x382/0x8c0
[ 492.399664] schedule+0x3a/0xa0
[ 492.399665] blk_mq_freeze_queue_wait+0x62/0x90
[ 492.399670] ? finish_wait+0x80/0x80
[ 492.399673] del_gendisk+0xbb/0x210
[ 492.399676] release_nodes+0x39/0xa0
[ 492.399678] devres_release_all+0x88/0xc0
[ 492.399681] device_release_driver_internal+0x107/0x1e0
[ 492.399684] unbind_store+0xf0/0x120
[ 492.399687] kernfs_fop_write_iter+0x12d/0x1c0
[ 492.399690] new_sync_write+0x11f/0x1b0
[ 492.399694] vfs_write+0x184/0x260
[ 492.399695] ksys_write+0x59/0xd0
[ 492.399697] do_syscall_64+0x37/0x80
[ 492.399699] entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 492.399702] RIP: 0033:0x7f1b0c7db648
[ 492.399703] RSP: 002b:00007ffd68b47088 EFLAGS: 00000246 ORIG_RAX:
0000000000000001
[ 492.399706] RAX: ffffffffffffffda RBX: 000000000074cb60 RCX: 00007f1b0c7db648
[ 492.399707] RDX: 0000000000000007 RSI: 000000000074cb60 RDI: 0000000000000006
[ 492.399708] RBP: 0000000000000007 R08: 000000000074cb20 R09: 00007f1b0c86e620
[ 492.399709] R10: 0000000000000016 R11: 0000000000000246 R12: 0000000000000006
[ 492.399709] R13: 00007f1b0d92c7e8 R14: 0000000000000000 R15: 000000000074c820
--
Best Regards,
Yi Zhang
^ permalink raw reply [flat|nested] 4+ messages in thread
* Fwd: [regression] ndctl destroy-namespace operation hang from 5.15.0-rc6
2021-10-18 11:10 [regression] ndctl destroy-namespace operation hang from 5.15.0-rc6 Yi Zhang
@ 2021-10-18 11:16 ` Yi Zhang
2021-10-18 16:13 ` Yi Zhang
1 sibling, 0 replies; 4+ messages in thread
From: Yi Zhang @ 2021-10-18 11:16 UTC (permalink / raw)
To: Linux NVDIMM, linux-block; +Cc: Dan Williams
Forward to the right nvdimm mailist
---------- Forwarded message ---------
From: Yi Zhang <yi.zhang@redhat.com>
Date: Mon, Oct 18, 2021 at 7:10 PM
Subject: [regression] ndctl destroy-namespace operation hang from 5.15.0-rc6
To: linux-nvdimm <linux-nvdimm@lists.01.org>, linux-block
<linux-block@vger.kernel.org>
Hello
This regression was introduced from 5.15.0-rc6, pls help check it, thanks.
# ndctl list -N
[
{
"dev":"namespace1.0",
"mode":"fsdax",
"map":"dev",
"size":16909336576,
"uuid":"979a045b-6fac-4755-904d-3283a561c74d",
"sector_size":512,
"align":2097152,
"blockdev":"pmem1"
}
]
# ndctl destroy-namespace all -r all -f ---> hang
[ 246.608610] INFO: task ndctl:1934 blocked for more than 122 seconds.
[ 246.614973] Tainted: G S I 5.15.0-rc6 #1
[ 246.620546] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[ 246.628373] task:ndctl state:D stack: 0 pid: 1934
ppid: 1896 flags:0x00004000
[ 246.628377] Call Trace:
[ 246.628379] __schedule+0x382/0x8c0
[ 246.628385] schedule+0x3a/0xa0
[ 246.628386] blk_mq_freeze_queue_wait+0x62/0x90
[ 246.628391] ? finish_wait+0x80/0x80
[ 246.628396] del_gendisk+0xbb/0x210
[ 246.628399] release_nodes+0x39/0xa0
[ 246.628403] devres_release_all+0x88/0xc0
[ 246.628406] device_release_driver_internal+0x107/0x1e0
[ 246.628410] unbind_store+0xf0/0x120
[ 246.628412] kernfs_fop_write_iter+0x12d/0x1c0
[ 246.628416] new_sync_write+0x11f/0x1b0
[ 246.628420] vfs_write+0x184/0x260
[ 246.628422] ksys_write+0x59/0xd0
[ 246.628423] do_syscall_64+0x37/0x80
[ 246.628426] entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 246.628430] RIP: 0033:0x7f1b0c7db648
[ 246.628432] RSP: 002b:00007ffd68b47088 EFLAGS: 00000246 ORIG_RAX:
0000000000000001
[ 246.628433] RAX: ffffffffffffffda RBX: 000000000074cb60 RCX: 00007f1b0c7db648
[ 246.628435] RDX: 0000000000000007 RSI: 000000000074cb60 RDI: 0000000000000006
[ 246.628436] RBP: 0000000000000007 R08: 000000000074cb20 R09: 00007f1b0c86e620
[ 246.628436] R10: 0000000000000016 R11: 0000000000000246 R12: 0000000000000006
[ 246.628437] R13: 00007f1b0d92c7e8 R14: 0000000000000000 R15: 000000000074c820
[ 369.483990] INFO: task ndctl:1934 blocked for more than 245 seconds.
[ 369.490348] Tainted: G S I 5.15.0-rc6 #1
[ 369.495922] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[ 369.503747] task:ndctl state:D stack: 0 pid: 1934
ppid: 1896 flags:0x00004000
[ 369.503750] Call Trace:
[ 369.503752] __schedule+0x382/0x8c0
[ 369.503757] schedule+0x3a/0xa0
[ 369.503759] blk_mq_freeze_queue_wait+0x62/0x90
[ 369.503763] ? finish_wait+0x80/0x80
[ 369.503768] del_gendisk+0xbb/0x210
[ 369.503771] release_nodes+0x39/0xa0
[ 369.503774] devres_release_all+0x88/0xc0
[ 369.503778] device_release_driver_internal+0x107/0x1e0
[ 369.503782] unbind_store+0xf0/0x120
[ 369.503784] kernfs_fop_write_iter+0x12d/0x1c0
[ 369.503788] new_sync_write+0x11f/0x1b0
[ 369.503792] vfs_write+0x184/0x260
[ 369.503793] ksys_write+0x59/0xd0
[ 369.503795] do_syscall_64+0x37/0x80
[ 369.503797] entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 369.503801] RIP: 0033:0x7f1b0c7db648
[ 369.503803] RSP: 002b:00007ffd68b47088 EFLAGS: 00000246 ORIG_RAX:
0000000000000001
[ 369.503805] RAX: ffffffffffffffda RBX: 000000000074cb60 RCX: 00007f1b0c7db648
[ 369.503806] RDX: 0000000000000007 RSI: 000000000074cb60 RDI: 0000000000000006
[ 369.503807] RBP: 0000000000000007 R08: 000000000074cb20 R09: 00007f1b0c86e620
[ 369.503808] R10: 0000000000000016 R11: 0000000000000246 R12: 0000000000000006
[ 369.503809] R13: 00007f1b0d92c7e8 R14: 0000000000000000 R15: 000000000074c820
[ 492.359355] INFO: task kworker/u64:17:188 blocked for more than 122 seconds.
[ 492.366399] Tainted: G S I 5.15.0-rc6 #1
[ 492.371973] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[ 492.379796] task:kworker/u64:17 state:D stack: 0 pid: 188
ppid: 2 flags:0x00004000
[ 492.379800] Workqueue: nfit acpi_nfit_scrub [nfit]
[ 492.379806] Call Trace:
[ 492.379807] __schedule+0x382/0x8c0
[ 492.379811] schedule+0x3a/0xa0
[ 492.379813] schedule_preempt_disabled+0xa/0x10
[ 492.379815] __mutex_lock.isra.11+0x329/0x440
[ 492.379818] nd_device_notify+0x1e/0x50 [libnvdimm]
[ 492.379827] ? nd_region_conflict+0x70/0x70 [libnvdimm]
[ 492.379837] child_notify+0xc/0x10 [libnvdimm]
[ 492.379847] device_for_each_child+0x54/0x90
[ 492.379850] nd_region_notify+0x3a/0xd0 [libnvdimm]
[ 492.379860] nd_device_notify+0x3b/0x50 [libnvdimm]
[ 492.379867] ars_complete+0x68/0xa0 [nfit]
[ 492.379871] acpi_nfit_scrub+0xa1/0x3a0 [nfit]
[ 492.379875] ? __switch_to_asm+0x42/0x70
[ 492.379878] ? finish_task_switch+0xaf/0x2c0
[ 492.379881] process_one_work+0x1cb/0x370
[ 492.379883] worker_thread+0x30/0x380
[ 492.379885] ? process_one_work+0x370/0x370
[ 492.379887] kthread+0x118/0x140
[ 492.379889] ? set_kthread_struct+0x40/0x40
[ 492.379891] ret_from_fork+0x1f/0x30
[ 492.379912] INFO: task ndctl:1934 blocked for more than 368 seconds.
[ 492.386262] Tainted: G S I 5.15.0-rc6 #1
[ 492.391834] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[ 492.399659] task:ndctl state:D stack: 0 pid: 1934
ppid: 1896 flags:0x00004000
[ 492.399661] Call Trace:
[ 492.399662] __schedule+0x382/0x8c0
[ 492.399664] schedule+0x3a/0xa0
[ 492.399665] blk_mq_freeze_queue_wait+0x62/0x90
[ 492.399670] ? finish_wait+0x80/0x80
[ 492.399673] del_gendisk+0xbb/0x210
[ 492.399676] release_nodes+0x39/0xa0
[ 492.399678] devres_release_all+0x88/0xc0
[ 492.399681] device_release_driver_internal+0x107/0x1e0
[ 492.399684] unbind_store+0xf0/0x120
[ 492.399687] kernfs_fop_write_iter+0x12d/0x1c0
[ 492.399690] new_sync_write+0x11f/0x1b0
[ 492.399694] vfs_write+0x184/0x260
[ 492.399695] ksys_write+0x59/0xd0
[ 492.399697] do_syscall_64+0x37/0x80
[ 492.399699] entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 492.399702] RIP: 0033:0x7f1b0c7db648
[ 492.399703] RSP: 002b:00007ffd68b47088 EFLAGS: 00000246 ORIG_RAX:
0000000000000001
[ 492.399706] RAX: ffffffffffffffda RBX: 000000000074cb60 RCX: 00007f1b0c7db648
[ 492.399707] RDX: 0000000000000007 RSI: 000000000074cb60 RDI: 0000000000000006
[ 492.399708] RBP: 0000000000000007 R08: 000000000074cb20 R09: 00007f1b0c86e620
[ 492.399709] R10: 0000000000000016 R11: 0000000000000246 R12: 0000000000000006
[ 492.399709] R13: 00007f1b0d92c7e8 R14: 0000000000000000 R15: 000000000074c820
--
Best Regards,
Yi Zhang
--
Best Regards,
Yi Zhang
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [regression] ndctl destroy-namespace operation hang from 5.15.0-rc6
2021-10-18 11:10 [regression] ndctl destroy-namespace operation hang from 5.15.0-rc6 Yi Zhang
2021-10-18 11:16 ` Fwd: " Yi Zhang
@ 2021-10-18 16:13 ` Yi Zhang
2021-10-18 17:07 ` Christoph Hellwig
1 sibling, 1 reply; 4+ messages in thread
From: Yi Zhang @ 2021-10-18 16:13 UTC (permalink / raw)
To: Christoph Hellwig, Dan Williams; +Cc: linux-block, Linux NVDIMM, Ming Lei
So the bisecting shows it was introduced with below commit:
commit 8e141f9eb803e209714a80aa6ec073893f94c526
Author: Christoph Hellwig <hch@lst.de>
Date: Wed Sep 29 09:12:40 2021 +0200
block: drain file system I/O on del_gendisk
On Mon, Oct 18, 2021 at 7:10 PM Yi Zhang <yi.zhang@redhat.com> wrote:
>
> Hello
>
> This regression was introduced from 5.15.0-rc6, pls help check it, thanks.
>
> # ndctl list -N
> [
> {
> "dev":"namespace1.0",
> "mode":"fsdax",
> "map":"dev",
> "size":16909336576,
> "uuid":"979a045b-6fac-4755-904d-3283a561c74d",
> "sector_size":512,
> "align":2097152,
> "blockdev":"pmem1"
> }
> ]
>
> # ndctl destroy-namespace all -r all -f ---> hang
>
> [ 246.608610] INFO: task ndctl:1934 blocked for more than 122 seconds.
> [ 246.614973] Tainted: G S I 5.15.0-rc6 #1
> [ 246.620546] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
> disables this message.
> [ 246.628373] task:ndctl state:D stack: 0 pid: 1934
> ppid: 1896 flags:0x00004000
> [ 246.628377] Call Trace:
> [ 246.628379] __schedule+0x382/0x8c0
> [ 246.628385] schedule+0x3a/0xa0
> [ 246.628386] blk_mq_freeze_queue_wait+0x62/0x90
> [ 246.628391] ? finish_wait+0x80/0x80
> [ 246.628396] del_gendisk+0xbb/0x210
> [ 246.628399] release_nodes+0x39/0xa0
> [ 246.628403] devres_release_all+0x88/0xc0
> [ 246.628406] device_release_driver_internal+0x107/0x1e0
> [ 246.628410] unbind_store+0xf0/0x120
> [ 246.628412] kernfs_fop_write_iter+0x12d/0x1c0
> [ 246.628416] new_sync_write+0x11f/0x1b0
> [ 246.628420] vfs_write+0x184/0x260
> [ 246.628422] ksys_write+0x59/0xd0
> [ 246.628423] do_syscall_64+0x37/0x80
> [ 246.628426] entry_SYSCALL_64_after_hwframe+0x44/0xae
> [ 246.628430] RIP: 0033:0x7f1b0c7db648
> [ 246.628432] RSP: 002b:00007ffd68b47088 EFLAGS: 00000246 ORIG_RAX:
> 0000000000000001
> [ 246.628433] RAX: ffffffffffffffda RBX: 000000000074cb60 RCX: 00007f1b0c7db648
> [ 246.628435] RDX: 0000000000000007 RSI: 000000000074cb60 RDI: 0000000000000006
> [ 246.628436] RBP: 0000000000000007 R08: 000000000074cb20 R09: 00007f1b0c86e620
> [ 246.628436] R10: 0000000000000016 R11: 0000000000000246 R12: 0000000000000006
> [ 246.628437] R13: 00007f1b0d92c7e8 R14: 0000000000000000 R15: 000000000074c820
> [ 369.483990] INFO: task ndctl:1934 blocked for more than 245 seconds.
> [ 369.490348] Tainted: G S I 5.15.0-rc6 #1
> [ 369.495922] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
> disables this message.
> [ 369.503747] task:ndctl state:D stack: 0 pid: 1934
> ppid: 1896 flags:0x00004000
> [ 369.503750] Call Trace:
> [ 369.503752] __schedule+0x382/0x8c0
> [ 369.503757] schedule+0x3a/0xa0
> [ 369.503759] blk_mq_freeze_queue_wait+0x62/0x90
> [ 369.503763] ? finish_wait+0x80/0x80
> [ 369.503768] del_gendisk+0xbb/0x210
> [ 369.503771] release_nodes+0x39/0xa0
> [ 369.503774] devres_release_all+0x88/0xc0
> [ 369.503778] device_release_driver_internal+0x107/0x1e0
> [ 369.503782] unbind_store+0xf0/0x120
> [ 369.503784] kernfs_fop_write_iter+0x12d/0x1c0
> [ 369.503788] new_sync_write+0x11f/0x1b0
> [ 369.503792] vfs_write+0x184/0x260
> [ 369.503793] ksys_write+0x59/0xd0
> [ 369.503795] do_syscall_64+0x37/0x80
> [ 369.503797] entry_SYSCALL_64_after_hwframe+0x44/0xae
> [ 369.503801] RIP: 0033:0x7f1b0c7db648
> [ 369.503803] RSP: 002b:00007ffd68b47088 EFLAGS: 00000246 ORIG_RAX:
> 0000000000000001
> [ 369.503805] RAX: ffffffffffffffda RBX: 000000000074cb60 RCX: 00007f1b0c7db648
> [ 369.503806] RDX: 0000000000000007 RSI: 000000000074cb60 RDI: 0000000000000006
> [ 369.503807] RBP: 0000000000000007 R08: 000000000074cb20 R09: 00007f1b0c86e620
> [ 369.503808] R10: 0000000000000016 R11: 0000000000000246 R12: 0000000000000006
> [ 369.503809] R13: 00007f1b0d92c7e8 R14: 0000000000000000 R15: 000000000074c820
> [ 492.359355] INFO: task kworker/u64:17:188 blocked for more than 122 seconds.
> [ 492.366399] Tainted: G S I 5.15.0-rc6 #1
> [ 492.371973] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
> disables this message.
> [ 492.379796] task:kworker/u64:17 state:D stack: 0 pid: 188
> ppid: 2 flags:0x00004000
> [ 492.379800] Workqueue: nfit acpi_nfit_scrub [nfit]
> [ 492.379806] Call Trace:
> [ 492.379807] __schedule+0x382/0x8c0
> [ 492.379811] schedule+0x3a/0xa0
> [ 492.379813] schedule_preempt_disabled+0xa/0x10
> [ 492.379815] __mutex_lock.isra.11+0x329/0x440
> [ 492.379818] nd_device_notify+0x1e/0x50 [libnvdimm]
> [ 492.379827] ? nd_region_conflict+0x70/0x70 [libnvdimm]
> [ 492.379837] child_notify+0xc/0x10 [libnvdimm]
> [ 492.379847] device_for_each_child+0x54/0x90
> [ 492.379850] nd_region_notify+0x3a/0xd0 [libnvdimm]
> [ 492.379860] nd_device_notify+0x3b/0x50 [libnvdimm]
> [ 492.379867] ars_complete+0x68/0xa0 [nfit]
> [ 492.379871] acpi_nfit_scrub+0xa1/0x3a0 [nfit]
> [ 492.379875] ? __switch_to_asm+0x42/0x70
> [ 492.379878] ? finish_task_switch+0xaf/0x2c0
> [ 492.379881] process_one_work+0x1cb/0x370
> [ 492.379883] worker_thread+0x30/0x380
> [ 492.379885] ? process_one_work+0x370/0x370
> [ 492.379887] kthread+0x118/0x140
> [ 492.379889] ? set_kthread_struct+0x40/0x40
> [ 492.379891] ret_from_fork+0x1f/0x30
> [ 492.379912] INFO: task ndctl:1934 blocked for more than 368 seconds.
> [ 492.386262] Tainted: G S I 5.15.0-rc6 #1
> [ 492.391834] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
> disables this message.
> [ 492.399659] task:ndctl state:D stack: 0 pid: 1934
> ppid: 1896 flags:0x00004000
> [ 492.399661] Call Trace:
> [ 492.399662] __schedule+0x382/0x8c0
> [ 492.399664] schedule+0x3a/0xa0
> [ 492.399665] blk_mq_freeze_queue_wait+0x62/0x90
> [ 492.399670] ? finish_wait+0x80/0x80
> [ 492.399673] del_gendisk+0xbb/0x210
> [ 492.399676] release_nodes+0x39/0xa0
> [ 492.399678] devres_release_all+0x88/0xc0
> [ 492.399681] device_release_driver_internal+0x107/0x1e0
> [ 492.399684] unbind_store+0xf0/0x120
> [ 492.399687] kernfs_fop_write_iter+0x12d/0x1c0
> [ 492.399690] new_sync_write+0x11f/0x1b0
> [ 492.399694] vfs_write+0x184/0x260
> [ 492.399695] ksys_write+0x59/0xd0
> [ 492.399697] do_syscall_64+0x37/0x80
> [ 492.399699] entry_SYSCALL_64_after_hwframe+0x44/0xae
> [ 492.399702] RIP: 0033:0x7f1b0c7db648
> [ 492.399703] RSP: 002b:00007ffd68b47088 EFLAGS: 00000246 ORIG_RAX:
> 0000000000000001
> [ 492.399706] RAX: ffffffffffffffda RBX: 000000000074cb60 RCX: 00007f1b0c7db648
> [ 492.399707] RDX: 0000000000000007 RSI: 000000000074cb60 RDI: 0000000000000006
> [ 492.399708] RBP: 0000000000000007 R08: 000000000074cb20 R09: 00007f1b0c86e620
> [ 492.399709] R10: 0000000000000016 R11: 0000000000000246 R12: 0000000000000006
> [ 492.399709] R13: 00007f1b0d92c7e8 R14: 0000000000000000 R15: 000000000074c820
>
>
>
> --
> Best Regards,
> Yi Zhang
--
Best Regards,
Yi Zhang
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [regression] ndctl destroy-namespace operation hang from 5.15.0-rc6
2021-10-18 16:13 ` Yi Zhang
@ 2021-10-18 17:07 ` Christoph Hellwig
0 siblings, 0 replies; 4+ messages in thread
From: Christoph Hellwig @ 2021-10-18 17:07 UTC (permalink / raw)
To: Yi Zhang
Cc: Christoph Hellwig, Dan Williams, linux-block, Linux NVDIMM, Ming Lei
On Tue, Oct 19, 2021 at 12:13:09AM +0800, Yi Zhang wrote:
> So the bisecting shows it was introduced with below commit:
>
> commit 8e141f9eb803e209714a80aa6ec073893f94c526
> Author: Christoph Hellwig <hch@lst.de>
> Date: Wed Sep 29 09:12:40 2021 +0200
>
> block: drain file system I/O on del_gendisk
I can reproduce this, and it seems due to the fact that the pmem
driver overloads q_usage_counter for it's purposes (pgmap refcounting).
Let me think a little more about what we can do here.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-10-18 17:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-18 11:10 [regression] ndctl destroy-namespace operation hang from 5.15.0-rc6 Yi Zhang
2021-10-18 11:16 ` Fwd: " Yi Zhang
2021-10-18 16:13 ` Yi Zhang
2021-10-18 17:07 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).