Whamcloud - gitweb
LU-6088 lmv: Do not revalidate stripes with master lock 32/13432/5
authorwang di <di.wang@intel.com>
Wed, 14 Jan 2015 22:47:53 +0000 (14:47 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 23 Jan 2015 01:55:35 +0000 (01:55 +0000)
commit0860eda0544a507754b3af4aadcd651e1120ded5
tree54898b0c124607b258f98b2d889ba09da8562042
parent78afe76bd723df1736e4323ae3ccb42fd961c218
LU-6088 lmv: Do not revalidate stripes with master lock

Do not revalidate slave stripes while holding master lock.
Otherwise if the revalidating slaves are blocked, then the
master lock can not be released in time.

Remove some unnecesary merging in ll_revalidate_slave(), and
the attributes will be stored in each stripe, only
merging them if required.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I57c43236894e2bbbf9a20b1d90c5ab2a5dc62ef1
Reviewed-on: http://review.whamcloud.com/13432
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/obd.h
lustre/include/obd_class.h
lustre/llite/file.c
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/lmv/lmv_intent.c
lustre/lmv/lmv_internal.h
lustre/lmv/lmv_obd.c
lustre/obdclass/lprocfs_status.c