aoe: Avoid flush_scheduled_work() usage
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Mon, 18 Apr 2022 23:31:55 +0000 (08:31 +0900)
committerJens Axboe <axboe@kernel.dk>
Sun, 1 May 2022 12:41:41 +0000 (06:41 -0600)
commit0b8d7622ab1859bec082bd01c5e11137195f3d52
treeaa677dfa47d5827011667c0a2b23a31344fb46ba
parentf01e49fb17bfabcac417c6ad6e55aae0fe6fb360
aoe: Avoid flush_scheduled_work() usage

Flushing system-wide workqueues is dangerous and will be forbidden.
Replace system_wq with local aoe_wq.

Link: https://lkml.kernel.org/r/49925af7-78a8-a3dd-bce6-cfc02e1a9236@I-love.SAKURA.ne.jp
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Link: https://lore.kernel.org/r/abb37616-eec9-2794-e21e-7c623085d987@I-love.SAKURA.ne.jp
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/aoe/aoe.h
drivers/block/aoe/aoeblk.c
drivers/block/aoe/aoecmd.c
drivers/block/aoe/aoedev.c
drivers/block/aoe/aoemain.c