projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a57d906
)
libceph: no need to call flush_workqueue() before destruction
author
Ilya Dryomov
<idryomov@gmail.com>
Fri, 18 May 2018 17:34:45 +0000
(19:34 +0200)
committer
Ilya Dryomov
<idryomov@gmail.com>
Mon, 4 Jun 2018 18:45:57 +0000
(20:45 +0200)
destroy_workqueue() drains the workqueue before proceeding with
destruction.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/osd_client.c
patch
|
blob
|
history
diff --git
a/net/ceph/osd_client.c
b/net/ceph/osd_client.c
index a7e090d2c9571e2b8e85c24793511c0046997b83..bcedeea80cd58b083384c2f88467141629d196fa 100644
(file)
--- a/
net/ceph/osd_client.c
+++ b/
net/ceph/osd_client.c
@@
-5081,7
+5081,6
@@
out:
void ceph_osdc_stop(struct ceph_osd_client *osdc)
{
- flush_workqueue(osdc->notify_wq);
destroy_workqueue(osdc->notify_wq);
cancel_delayed_work_sync(&osdc->timeout_work);
cancel_delayed_work_sync(&osdc->osds_timeout_work);