]> git.baikalelectronics.ru Git - kernel.git/commit
dm mpath: only flush workqueue when needed
authorwuzhouhui <wuzhouhui14@mails.ucas.ac.cn>
Thu, 22 Mar 2018 14:22:38 +0000 (22:22 +0800)
committerMike Snitzer <snitzer@redhat.com>
Tue, 18 Dec 2018 14:02:25 +0000 (09:02 -0500)
commit700261406f0c782b9713ff7634af7e0b40e4788a
treeb991c09b72301111e7ec702fec18b6e03f888a3a
parent35f366118f90841ebd8fa2c19baff4933dab7921
dm mpath: only flush workqueue when needed

The workqueues are shared by many multipath devices, only flush whole
workqueue when necessary.  Otherwise, we just flush works as needed.

Signed-off-by: wuzhouhui <wuzhouhui14@mails.ucas.ac.cn>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-mpath.c