Whamcloud - gitweb
LU-1565 ldlm: make blocking threads async wherenever possible
authorVitaly Fertman <vitaly_fertman@xyratex.com>
Mon, 4 Feb 2013 13:27:03 +0000 (17:27 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 20 Mar 2013 18:24:10 +0000 (14:24 -0400)
commit8e365a02e794fd58099b2f771893f5ef3a73c7f7
tree333712767b371a235a707ad861044dc10f76cd90
parent57b3da5d4938e38f23593e14cebb3702c9085f3a
LU-1565 ldlm: make blocking threads async wherenever possible

There is no need to wait for the cancel lru lock completion in the
client side pool recalculation, make it asynchronous.

make all the ldlm_cli_cancel() calls from blocking callbacks async

Change-Id: Ie510c7361f1025a78c693a11b457baf1652f8c90
Xyratex-bug-id: MRP-690
Reviewed-by: Andrew Perepechko <andrew_perepechko@xyratex.com>
Reviewed-by: Bruce Korb <bruce_korb@xyratex.com>
Signed-off-by: Vitaly Fertman <vitaly_fertman@xyratex.com>
Reviewed-on: http://review.whamcloud.com/4181
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
14 files changed:
lustre/include/lustre_dlm.h
lustre/ldlm/ldlm_internal.h
lustre/ldlm/ldlm_lock.c
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_pool.c
lustre/ldlm/ldlm_request.c
lustre/ldlm/ldlm_resource.c
lustre/liblustre/namei.c
lustre/liblustre/rw.c
lustre/llite/namei.c
lustre/mdt/mdt_handler.c
lustre/mgc/mgc_request.c
lustre/osc/osc_lock.c
lustre/quota/qsd_lock.c