Whamcloud - gitweb
LU-925 agl: async glimpse lock process in CLIO stack
authorFan Yong <yong.fan@whamcloud.com>
Fri, 6 Jan 2012 06:49:42 +0000 (14:49 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 10 Jan 2012 18:03:09 +0000 (13:03 -0500)
commit6f5813d36102a19f314c9aab409972e8a9f1112b
treef33a94432a2716ef2e70cb7fbdcae03ac1512196
parent2064c2a7e616b172f72462884b23d899bfc040ff
LU-925 agl: async glimpse lock process in CLIO stack

Adjust CLIO lock state machine for supporting:
1. unuse lock in non-hold state.
2. re-enqueue non-granted glimpse lock.

Signed-off-by: Fan Yong <yong.fan@whamcloud.com>
Change-Id: I9de8939a398d7b4c7062e6c5859bca06deddd089
Reviewed-on: http://review.whamcloud.com/1243
Reviewed-by: Niu Yawei <niu@whamcloud.com>
Tested-by: Hudson
Reviewed-by: Jinshan Xiong <jinshan.xiong@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
17 files changed:
lustre/include/cl_object.h
lustre/include/lclient.h
lustre/include/lustre_dlm.h
lustre/include/obd_ost.h
lustre/include/obd_support.h
lustre/lclient/glimpse.c
lustre/lclient/lcommon_cl.c
lustre/ldlm/ldlm_lock.c
lustre/llite/statahead.c
lustre/lov/lov_lock.c
lustre/obdclass/cl_lock.c
lustre/obdfilter/filter.c
lustre/osc/osc_cl_internal.h
lustre/osc/osc_internal.h
lustre/osc/osc_lock.c
lustre/osc/osc_request.c
lustre/tests/sanity.sh