OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 00/10] NFS: callback threads containerization
[PATCH 10/10] NFS: add debug messages to callback down function [message #46121 is a reply to message #46111] Thu, 26 April 2012 15:56 Go to previous message
Stanislav Kinsbursky is currently offline  Stanislav Kinsbursky
Messages: 683
Registered: October 2011
Senior Member
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>

---
fs/nfs/callback.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fs/nfs/callback.c b/fs/nfs/callback.c
index 1f814b0..7d82bec 100644
--- a/fs/nfs/callback.c
+++ b/fs/nfs/callback.c
@@ -423,7 +423,9 @@ void nfs_callback_down(int minorversion, struct net *net)
cb_info->users--;
if (cb_info->users == 0 && cb_info->task != NULL) {
kthread_stop(cb_info->task);
+ dprintk("nfs_callback_down: service stopped\n");
svc_exit_thread(cb_info->rqst);
+ dprintk("nfs_callback_down: service destroyed\n");
cb_info->serv = NULL;
cb_info->rqst = NULL;
cb_info->task = NULL;
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH v2] SUNRPC: skip dead but not buried clients on PipeFS events
Next Topic: [PATCH v3 0/2] fix problem with static_branch() for sock memcg
Goto Forum:
  


Current Time: Fri Sep 12 15:33:09 GMT 2025

Total time taken to generate the page: 0.07669 seconds