block/rnbd-clt: Avoid flush_workqueue(system_long_wq) usage
authorJack Wang <jinpu.wang@ionos.com>
Wed, 13 Apr 2022 12:34:20 +0000 (14:34 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Apr 2022 15:24:56 +0000 (09:24 -0600)
commit5ea7c1339e3ed094dd4df48d598f9018a2587283
tree1df91b1fe27f0cf15b197316f6b65927a25af49a
parentd292dc80686aeafc418d809b4f9598578a7f294f
block/rnbd-clt: Avoid flush_workqueue(system_long_wq) usage

Flushing system-wide workqueues is dangerous and will be forbidden.

Replace system_long_wq with local rnbd_clt_wq.

Link: https://lkml.kernel.org/r/49925af7-78a8-a3dd-bce6-cfc02e1a9236@I-love.SAKURA.ne.jp
Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Reviewed-by: Santosh Kumar Pradhan <santosh.pradhan@ionos.com>
Link: https://lore.kernel.org/r/20220413123420.66470-1-jinpu.wang@ionos.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rnbd/rnbd-clt.c