Whamcloud - gitweb
LU-4691 lmv: honor MDT index when creating volatile file 66/10866/12
authorWang Di <di.wang@intel.com>
Thu, 10 Jul 2014 08:57:45 +0000 (01:57 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 18 Jul 2014 18:22:39 +0000 (18:22 +0000)
commit062275772df6ba9027710048f2c1ee26e5574a51
tree9a13ebe01bd296bf4f4aa09966f6d8f5041d3773
parentc15a14fbeb566705a2cdd6a471da1155c7b8b444
LU-4691 lmv: honor MDT index when creating volatile file

LMV should honor MDT index embedded in the name of volatile
file, then during hsm restore, the file under striped dir can
be restored to the right MDT.

Add test 405 in sanity-hsm to verify it.

Change-Id: I05170beee5255cf6581a2ea43edb6cc434a7cf8e
Signed-off-by: Wang Di <di.wang@intel.com>
Reviewed-on: http://review.whamcloud.com/10866
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Henri Doreau <henri.doreau@cea.fr>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre/lustre_user.h
lustre/include/lustre/lustreapi.h
lustre/llite/dir.c
lustre/llite/llite_lib.c
lustre/lmv/lmv_fld.c
lustre/lmv/lmv_internal.h
lustre/lmv/lmv_obd.c
lustre/tests/sanity-hsm.sh
lustre/utils/lhsmtool_posix.c
lustre/utils/liblustreapi.c