From 9036bd1a7bab68351c38d65cd6a1c8af150467bb Mon Sep 17 00:00:00 2001 From: Rajesh Amaravathi Date: Mon, 17 Dec 2012 16:29:42 +0530 Subject: nlm: use virtual ip of server to connect to client In cases where the servers use virtual ip's, this commit makes sure we use them and not the physical ip. This change also refactors code around nlm4_establish_callback by sending granted msg only after a connection establishment, and removing the separate thread creation. Change-Id: I087362c547a25aa52ef7fc6653845a3863466ee6 BUG: 888283 Signed-off-by: Rajesh Amaravathi Reviewed-on: http://review.gluster.org/4326 Reviewed-by: Kaleb KEITHLEY Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- xlators/nfs/server/src/nlm4.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'xlators/nfs/server/src/nlm4.h') diff --git a/xlators/nfs/server/src/nlm4.h b/xlators/nfs/server/src/nlm4.h index 0cc82f162de..4659915aaed 100644 --- a/xlators/nfs/server/src/nlm4.h +++ b/xlators/nfs/server/src/nlm4.h @@ -83,9 +83,4 @@ typedef struct nlm_fde { int transit_cnt; } nlm_fde_t; -typedef struct { - pthread_cond_t cond; - pthread_mutex_t mutex; -} nlm_condmutex_t; - #endif -- cgit