Whamcloud - gitweb
LU-2823 obdfilter: always return last id when del orphan
authorNiu Yawei <niu@whamcloud.com>
Sun, 17 Feb 2013 03:32:54 +0000 (22:32 -0500)
committerJohann Lombardi <johann.lombardi@intel.com>
Mon, 8 Apr 2013 08:40:27 +0000 (04:40 -0400)
commitc074fbd3066d617ac30eccb85a7bea8ef73700eb
treeaa9daa951b897f98a63178c9cc7aa49fa5331e50
parentdaf84a7f8eb76356285b7af5d88fb9e5e73335d3
LU-2823 obdfilter: always return last id when del orphan

In filter_destroy_precreated(), it should still return the last id
even if the fo_destroy_in_progress was cleared already, otherwise
the last_id on MDS will not be synced with the last_id on obdfilter.

Test-Parameters: envdefinitions=SLOW=yes,ENABLE_QUOTA=yes \
clientdistro=el6 serverdistro=el5 \
clientarch=x86_64 serverarch=x86_64 \
nettypes=o2ib clientibstack=inkernel \
serveribstack=inkernel testlist=large-scale

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I01a5a5da201e227c139c3406adcaa896e5d5b71f
Reviewed-on: http://review.whamcloud.com/5448
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/obdfilter/filter.c