Whamcloud - gitweb
LU-6320 lod: Use target index as the master index 41/13941/4
authorwang di <di.wang@intel.com>
Tue, 7 Apr 2015 18:01:06 +0000 (11:01 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 10 Apr 2015 04:29:24 +0000 (04:29 +0000)
commit85a1282e287638049d6351974c12e9928aa51c62
treeb7f18f532d81d4a3277ff441f4b8c4bebad8b13c
parentc6091a8302b359bd0e28082fef656f0532624143
LU-6320 lod: Use target index as the master index

Because lum_stripe_offset might be -1, if it comes
from the default stripe, and also the master stripe
always in the same MDT as the master object, so
it should use master object MDT index as the master
stripe index.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I4a700580dd7a035b243d2314231e50e12742100e
Reviewed-on: http://review.whamcloud.com/13941
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/lod/lod_object.c