Whamcloud - gitweb
LU-6831 lmv: revalidate the dentry for striped dir 20/15720/2
authorwang di <di.wang@intel.com>
Thu, 23 Jul 2015 09:24:47 +0000 (02:24 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 7 Aug 2015 23:48:14 +0000 (23:48 +0000)
commita17909a92da74cb26fb9bf2824f968b2adf0897e
tree89b65b884f2444a51ae328064ce197fdbdf2a57f
parentea383222e031cdceffbdf2e3afab3b6d1fd53c8e
LU-6831 lmv: revalidate the dentry for striped dir

If there are bad stripe during striped dir revalidation,
most likely due the race between close(unlink) and
getattr, then let's revalidate the dentry, instead of
return error, like normal directory.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I410940473d123796f75607d39153240b7d3f737b
Reviewed-on: http://review.whamcloud.com/15720
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/file.c
lustre/llite/llite_lib.c
lustre/lmv/lmv_intent.c