public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* Hang in blk_mq_freeze_queue_wait()
@ 2021-11-17  0:15 Bart Van Assche
  2021-11-17  0:21 ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: Bart Van Assche @ 2021-11-17  0:15 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block@vger.kernel.org, Ming Lei

Hi,

If I run test srp/002 against v5.16-rc1 then dmsetup hangs as follows at 
the end of the test:

sysrq: Show Blocked State
task:dmsetup         state:D stack:28136 pid: 3088 ppid:  3087 
flags:0x00004000
Call Trace:
  <TASK>
  __schedule+0x4bd/0xc20
  schedule+0x84/0x140
  blk_mq_freeze_queue_wait+0xf7/0x130
  del_gendisk+0x342/0x410
  cleanup_mapped_device+0x165/0x170 [dm_mod]
  __dm_destroy+0x280/0x450 [dm_mod]
  dm_destroy+0x13/0x20 [dm_mod]
  dev_remove+0x156/0x1d0 [dm_mod]
  ctl_ioctl+0x2bb/0x4d0 [dm_mod]
  dm_ctl_ioctl+0xe/0x20 [dm_mod]
  __x64_sys_ioctl+0xc2/0xe0
  do_syscall_64+0x35/0x80
  entry_SYSCALL_64_after_hwframe+0x44/0xae

I haven't seen this hang with any previous kernel version. Could this be 
a block layer issue?

v5.16-rc1 includes Ming's commit 10f7335e3627 ("blk-mq: don't grab 
->q_usage_counter in blk_mq_sched_bio_merge").

Thanks,

Bart.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-17  4:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-17  0:15 Hang in blk_mq_freeze_queue_wait() Bart Van Assche
2021-11-17  0:21 ` Jens Axboe
2021-11-17  4:04   ` Bart Van Assche
2021-11-17  4:06     ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox