From c995a1d901603df87429f8ed282700f315a345f5 Mon Sep 17 00:00:00 2001 From: tianying Date: Thu, 23 Oct 2003 13:33:28 +0000 Subject: [PATCH] b=2110 r=Peter 1.Unlink log record will be created when mds_reint_unlink, mds_mfd_close or mds_cleanup_orphans is called. And that record will be cancelled by MDS when it receives the commit callback for filter_destroy. 2.It resolves the resetup problem for lustre built with enable-orphans on. 3.It resolves the cleanup problem of mds when recovery procedure is abort. --- lustre/obdclass/obd_config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/obdclass/obd_config.c b/lustre/obdclass/obd_config.c index e38e9a0..5820fa4 100644 --- a/lustre/obdclass/obd_config.c +++ b/lustre/obdclass/obd_config.c @@ -271,8 +271,8 @@ int class_cleanup(struct obd_device *obd, struct lustre_cfg *lcfg) } } - if (OBT(obd) && OBP(obd, pre_cleanup)) { - err = obd_pre_cleanup(obd, flags); + if (OBT(obd) && OBP(obd, precleanup)) { + err = obd_precleanup(obd, flags); if (err) RETURN(err); } -- 1.8.3.1