Whamcloud - gitweb
LU-1214 ldlm: splits server specific lock handling from client
authorLiu Xuezhao <xuezhao.liu@emc.com>
Fri, 16 Mar 2012 04:30:07 +0000 (12:30 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 7 May 2012 18:50:41 +0000 (14:50 -0400)
commitfc086a8623ae899ed0def8f7e7f622edfbd7a31b
tree9aca34b0241c35bbc888e58002644d50bb9f9cb9
parentd7e70c86e276b99b923fdfff594dc038e71cc2c1
LU-1214 ldlm: splits server specific lock handling from client

Splits/removes these server-side specific lock handlings:
1. Server-side blocking/completion/glimpse AST
2. ldlm_cancel_service
3. Resource policy functions
4. ldlm_handle_enqueue /ldlm_handle_convert etc.

Uses "HAVE_SERVER_SUPPORT" to comment out those server-side codes.

Signed-off-by: Liu Xuezhao <xuezhao.liu@emc.com>
Change-Id: Ia5b607715a45737182932bf5ec90bda9199eaf07
Reviewed-on: http://review.whamcloud.com/2361
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_dlm.h
lustre/ldlm/ldlm_extent.c
lustre/ldlm/ldlm_flock.c
lustre/ldlm/ldlm_inodebits.c
lustre/ldlm/ldlm_internal.h
lustre/ldlm/ldlm_lock.c
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_plain.c