Whamcloud - gitweb
b=6398
authoralex <alex>
Thu, 26 May 2005 11:08:39 +0000 (11:08 +0000)
committeralex <alex>
Thu, 26 May 2005 11:08:39 +0000 (11:08 +0000)
commit2c215cb2cbe5c38e8719ff42680cc907cc7e4284
tree7469cd87773141888b8b0a9010e3bd2606b0617f
parent5489f50e8a3e9bdcaf5c15e8019717ea46650c47
b=6398

 - target_start_recovery_thread() starts a thread and must wait for
   completion because that thread sets recovering flag. but routine
   kernel_thread() returns pid > 0 in successful case, while the
   target_start_recover_thread() expects 0. so, first routine
   target_start_recovery_thread() returns immediately and chain
   mds_postsetup() -> mds_dt_connect() is called with obd_recovering==0.
   so, mds_postrecov_common() is called and it calls mds_cleanup_orphans()
lustre/ldlm/ldlm_lib.c