Whamcloud - gitweb
LU-2844 mdd: mdt prepare failure should not oops
authorLai Siyao <lai.siyao@intel.com>
Fri, 22 Feb 2013 14:35:29 +0000 (22:35 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 27 Feb 2013 05:53:32 +0000 (00:53 -0500)
commit1ccdab699584306383dc21ff2c0f48bce70f6660
tree095530b5017593903176f5f3cb045a4f472d5216
parent592c739ecaece1f854712ede8d4a049c7d249c3a
LU-2844 mdd: mdt prepare failure should not oops

If mdd prepare fails, lfsck data may not be initialized, mdd
lfsck stop should check this flag.

Add one test to fail mdt prepare, and system should not oops
upon this failure.

Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Change-Id: Ie3e81a2a18aedaa47965800881292c122937506a
Reviewed-on: http://review.whamcloud.com/5519
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Ned Bass <bass6@llnl.gov>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/obd_support.h
lustre/mdd/mdd_device.c
lustre/mdd/mdd_lfsck.c
lustre/obdclass/obd_mount.c
lustre/tests/recovery-small.sh