Whamcloud - gitweb
LU-2845 osp: fix osp precreate thread init error handling
authorBobi Jam <bobijam.xu@intel.com>
Fri, 22 Feb 2013 03:08:00 +0000 (11:08 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 20 Mar 2013 21:25:02 +0000 (17:25 -0400)
commit707642fa4062a273ef5352b7cc44e43e18681dc0
tree1ad8030a2150a158f7d012d0ebd259172cb7db7f
parent7903fbc92af96ff5d5780fb89911dc8557f13ac8
LU-2845 osp: fix osp precreate thread init error handling

If osp device hasn't connected OST, osp_precreate_thread() should
heed to that and bypass the normal quitting path.

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: I27d18dfd4d7d55c97eeb169b5d7dc7042a42fd33
Reviewed-on: http://review.whamcloud.com/5508
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osp/osp_dev.c
lustre/osp/osp_precreate.c