Thread (12 messages) 12 messages, 5 authors, 2023-02-08

Re: block: sleeping in atomic warnings

From: Yu Kuai <hidden>
Date: 2023-02-08 03:15:35
Also in: linux-fsdevel, lkml

Hi,

在 2023/02/08 2:31, Jens Axboe 写道:
quoted
block/blk-wbt.c:843 wbt_init() warn: sleeping in atomic context
ioc_qos_write() <- disables preempt
-> wbt_enable_default()
    -> wbt_init()
Also definitely a bug.
This won't happen currently, wbt_init() will be called while
initializing device, and later wbt_enable_devault() from iocost won't
call wbt_init().

However, we might support rq_qos destruction dynamically in the
future, I'll fix this warning.

Thanks,
Kuai
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help