Whamcloud - gitweb
LU-6530 lod: do index_try for sub stripe 21/14621/4
authorwang di <di.wang@intel.com>
Fri, 1 May 2015 14:21:07 +0000 (07:21 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 30 May 2015 02:46:00 +0000 (02:46 +0000)
commitef4a8c9e0993041aca3cd4d5b24948def1a9a47c
tree7fb52dc6c5c2289ed53674a30aca05a78d4af876
parent0ebfb9e910d2b435eccef7e45a86c136f045f660
LU-6530 lod: do index_try for sub stripe

In lod_striped_it_next(), for each sub_stripe, it should call
index_try to initialize index operation, then access it.

Set lit_it to NULL in lod_striped_it_next(), so once failure
happens, lod_striped_it_fini will not finish the sub_it twice.
see (LU-5337).

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I83b45866f1d048530782262f7502cf9f51491741
Reviewed-on: http://review.whamcloud.com/14621
Tested-by: Jenkins
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lod/lod_object.c