Whamcloud - gitweb
LU-2828 osp: correct osp device finialize order
authorBobi Jam <bobijam.xu@intel.com>
Tue, 26 Feb 2013 01:55:58 +0000 (09:55 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 27 Feb 2013 04:14:53 +0000 (23:14 -0500)
commit757c8740038b257c6cb8c0f57dab91a3280e6ef9
tree4f783474fc937e005fe4bfdc13d4be06db1de384
parent400324a4307934956cad0e9ace95bc500e903463
LU-2828 osp: correct osp device finialize order

* Should stop osp precreate thread before releasing its last used
  oid/seq files.

* git commit 71bdcf99 changes the return value of
  writeconf_or_reformat, it's a cleanup function and when writeconf
  does not work it reformat device and should return 0 (success)
  in the end.

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: I82307dea94bd9ec62088bc931c6b4dd7b90776a0
Reviewed-on: http://review.whamcloud.com/5528
Tested-by: Hudson
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
lustre/osp/osp_dev.c
lustre/tests/conf-sanity.sh