]> git.baikalelectronics.ru Git - kernel.git/commit
io-wq: warn on creating manager while exiting
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 6 Mar 2021 11:02:18 +0000 (11:02 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 7 Mar 2021 21:12:43 +0000 (14:12 -0700)
commitd5fc3da425eece769c2a8716713da5274ce247af
tree4edfcde6eb9417bc9d25b0ec93cd71cae79c83be
parent12132d73e349a21c12c6b39888f2ec62a7d82f50
io-wq: warn on creating manager while exiting

Add a simple warning making sure that nobody tries to create a new
manager while we're under IO_WQ_BIT_EXIT. That can potentially happen
due to racy work submission after final put.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c