From: Milosz Tanski <milosz@adfin.com>
To: ceph-devel@vger.kernel.org
Cc: sage@inktank.com, zheng.z.yan@intel.com
Subject: [PATCH 1/2] ceph: Do not leak fscache workqueue
Date: Tue, 27 Aug 2013 19:08:52 -0400 [thread overview]
Message-ID: <8eeeba4f77ab7b2a3818a14d6a941b01a6c7f8c3.1377644443.git.milosz@adfin.com> (raw)
In-Reply-To: <cover.1377644443.git.milosz@adfin.com>
Previously I was not cleanup up the ceph fscache validate workqueue on
filesystem unmount.
Signed-off-by: Milosz Tanski <milosz@adfin.com>
---
fs/ceph/super.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/ceph/super.c b/fs/ceph/super.c
index a56baab..a14b13a 100644
--- a/fs/ceph/super.c
+++ b/fs/ceph/super.c
@@ -584,6 +584,7 @@ static void destroy_fs_client(struct ceph_fs_client *fsc)
#ifdef CONFIG_CEPH_FSCACHE
ceph_fscache_unregister_fsid_cookie(fsc);
+ destroy_workqueue(fsc->revalidate_wq);
#endif
destroy_workqueue(fsc->wb_wq);
--
1.8.1.2
next prev parent reply other threads:[~2013-08-27 23:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-27 23:08 [PATCH 0/2] Fscache cleanup and fix Milosz Tanski
2013-08-27 23:08 ` Milosz Tanski [this message]
2013-08-27 23:09 ` [PATCH 2/2] ceph: fscache cleanup Milosz Tanski
2013-08-27 23:35 ` [PATCH 0/2] Fscache cleanup and fix Sage Weil
2013-09-02 17:44 ` Milosz Tanski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8eeeba4f77ab7b2a3818a14d6a941b01a6c7f8c3.1377644443.git.milosz@adfin.com \
--to=milosz@adfin.com \
--cc=ceph-devel@vger.kernel.org \
--cc=sage@inktank.com \
--cc=zheng.z.yan@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.