Whamcloud - gitweb
Branch b1_4_mountconf
authornathan <nathan>
Tue, 21 Mar 2006 20:34:04 +0000 (20:34 +0000)
committernathan <nathan>
Tue, 21 Mar 2006 20:34:04 +0000 (20:34 +0000)
commit737f2ea683ba8dc2989c463d4a208f8ac7715008
tree74b689efb205cbb986d46a819106e0b487bdbbfd
parent1e7d1fbca28829750fa316d5cdcd72617153546f
Branch b1_4_mountconf
b=4482
Fix some recovery problems with late-added OSTs. A "late-added" OST is one
which is added to the FS after the MDT is added.  Since the config logs are
not re-written, these OSTs get added to the LOV after the MDT starts up,
every time the MDT starts up.  We have to fix the mdsize, and re-setup the
llogs whenever we add a late OST.

This fix in particular: during replay on an MDT, we still have to set the
right mdsize, but don't re-setup the llogs until recovery finishes.
(replay-single test 13)
Also check recovery w/o replay: create file, failover MDT, create another file.
lustre/mds/handler.c
lustre/mds/mds_lov.c
lustre/mds/mds_open.c
lustre/mgc/mgc_request.c
lustre/mgs/mgs_handler.c
lustre/mgs/mgs_llog.c
lustre/obdclass/llog_lvfs.c
lustre/obdclass/obd_mount.c