Whamcloud - gitweb
LU-1067 obdecho: Recheck client env ctx for echo md client.
authorwangdi <di.wang@whamcloud.com>
Sat, 4 Feb 2012 08:12:48 +0000 (00:12 -0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 13 Feb 2012 17:22:25 +0000 (12:22 -0500)
commite27a7ff8f337984a4e7f8d31e419528b71c3777b
tree84eeae4df5bc265c0b76c56e928c188d1b5ba1cf
parent68570176f72515dc10875dcacd7dbdc76dff3eaa
LU-1067 obdecho: Recheck client env ctx for echo md client.

During echo md test, if there are real clients being mounted
at the same time, the cl env it gotten from the cache might
contain the wrong context, so we need recheck the ctx and
refill the env forcedly.

Signed-off-by: Wang Di <di.wang@whamcloud.com>
Change-Id: Iddbceee80966b5ca9284c886731386a97d089d53
Reviewed-on: http://review.whamcloud.com/2092
Tested-by: Hudson
Reviewed-by: Jinshan Xiong <jinshan.xiong@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/cl_object.h
lustre/include/lu_object.h
lustre/obdclass/cl_object.c
lustre/obdclass/lu_object.c
lustre/obdecho/echo_client.c