Whamcloud - gitweb
LU-1187 lmv: allocate lmv tgts array by index
authorwangdi <di.wang@whamcloud.com>
Fri, 1 Nov 2013 12:50:24 +0000 (05:50 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 23 Jan 2013 07:12:40 +0000 (02:12 -0500)
commitb3a53261ee18bf0c00e509208a5729890347d582
tree49306b7c55c933c5ce20cc0b0562c9ea214871b4
parent74ec68346e14851ad8a1912185e1dccd3e6d12cd
LU-1187 lmv: allocate lmv tgts array by index

Allocate lmv tgts array by MDT index, which is similar as lov
tgts arrary, so the index of tgts will be decided by MDT index,
instead of mount sequence in current implementation.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: If4903553251e1dba653aa79fb02bce581580629f
Reviewed-on: http://review.whamcloud.com/4936
Tested-by: Hudson
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
libcfs/include/libcfs/user-mem.h
lustre/include/obd.h
lustre/liblustre/super.c
lustre/lmv/lmv_internal.h
lustre/lmv/lmv_obd.c
lustre/lmv/lproc_lmv.c
lustre/lov/lov_obd.c