Whamcloud - gitweb
LU-2828 osp: correct osp device finialize order 28/5528/2
authorBobi Jam <bobijam.xu@intel.com>
Tue, 26 Feb 2013 01:55:58 +0000 (09:55 +0800)
committerBobi Jam <bobijam.xu@intel.com>
Tue, 26 Feb 2013 03:09:48 +0000 (11:09 +0800)
commit1e7845ecbe5f3e8ac1aa0d3e345e6cf6cf6f0543
tree4986a245a3acd4f3b5193b7051dc34ebe87d1e67
parent9fb5d1ff837880a7596d98f24ff6bb1bf0033f2b
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
lustre/osp/osp_dev.c
lustre/tests/conf-sanity.sh