X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fldlm%2Fldlm_lib.c;h=b4e9d61f8fd7ec1f11fe76d7d875bf1195b8aaa6;hp=339180789730bb77828097881bee558549e36e00;hb=0a713200f663ba86c2a7f5bc65726cd8884fc79f;hpb=af5d6582a3fca5bb5f7e157fe0dc5bfe5cfcf743 diff --git a/lustre/ldlm/ldlm_lib.c b/lustre/ldlm/ldlm_lib.c index 3391807..b4e9d61 100644 --- a/lustre/ldlm/ldlm_lib.c +++ b/lustre/ldlm/ldlm_lib.c @@ -1874,8 +1874,11 @@ static void target_recovery_expired(unsigned long castmeharder) void target_recovery_init(struct lu_target *lut, svc_handler_t handler) { struct obd_device *obd = lut->lut_obd; - if (obd->obd_max_recoverable_clients == 0) + if (obd->obd_max_recoverable_clients == 0) { + /** Update server last boot epoch */ + lut_boot_epoch_update(lut); return; + } CWARN("RECOVERY: service %s, %d recoverable clients, " "last_transno "LPU64"\n", obd->obd_name,