Whamcloud - gitweb
ORNL-23 avoid unnecessary CMD lock contention in LMV
authornasf <yong.fan@whamcloud.com>
Mon, 5 Sep 2011 04:48:00 +0000 (12:48 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 19 Oct 2011 04:51:11 +0000 (00:51 -0400)
commit277b0ac0a9aa0cc3e78862c9b10a4f88e77c22d0
treed857478d758a6f65f60065e43b28083e92497a00
parentf14d2b5feae5213ed243fb63702aa1eed7e0a8b1
ORNL-23 avoid unnecessary CMD lock contention in LMV

There are some redundant lock operations in LMV layer which is only
useful under old CMD mode. We should avoid those lock operations to
reduce unnecessary lock contention.

Change-Id: I2ad1ba728da39ce69b0e521ab3a992dd2b253f2e
Signed-off-by: nasf <yong.fan@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1226
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Lai Siyao <laisiyao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/lmv/lmv_internal.h
lustre/lmv/lmv_obd.c
lustre/lmv/lmv_object.c