Whamcloud - gitweb
LU-3544 llite: simplify dentry revalidate 75/7475/11
authorLai Siyao <lai.siyao@intel.com>
Tue, 27 Aug 2013 09:58:08 +0000 (17:58 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 18 Nov 2013 12:32:37 +0000 (12:32 +0000)
commit55989b17c7391266740d68e3c62418e184364ed7
treea435d43534cf793bd3ce7b95ce9483bb7b59d07e
parent12d2b04f2204bc087f380cb214a29c126f50d709
LU-3544 llite: simplify dentry revalidate

Lustre client dentry validation is protected by LDLM lock, so
any time a dentry is found, it's valid and no need to revalidate
from MDS, and even it does, there is race that it may be
invalidated after revalidation is finished.

Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Change-Id: I7700cbaddc4ec08e12c9f7d8021783a6135dd35a
Reviewed-on: http://review.whamcloud.com/7475
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Peng Tao <bergwolf@gmail.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre/lustre_idl.h
lustre/llite/dcache.c
lustre/llite/file.c
lustre/llite/llite_internal.h
lustre/lmv/lmv_intent.c
lustre/lmv/lmv_obd.c
lustre/mdc/mdc_locks.c