From 421cb343f2b23f8f9230ec26ee335e649f79e51f Mon Sep 17 00:00:00 2001 From: phil Date: Fri, 24 Oct 2003 16:44:36 +0000 Subject: [PATCH] b=99 Andreas agrees that the disconnect is already synchronous, and will already provide a transno suitable for committing all outstanding requests. So we don't need to do another. --- lustre/llite/llite_lib.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c index 8723689..a24b8c2 100644 --- a/lustre/llite/llite_lib.c +++ b/lustre/llite/llite_lib.c @@ -436,11 +436,6 @@ void ll_put_super(struct super_block *sb) list_del(&sbi->ll_conn_chain); obd_disconnect(sbi->ll_osc_exp, 0); - /* Force sync on the MDS, and get the last_committed value to flush - * remaining RPCs from the sending queue on client. */ - if (!class_exp2obd(sbi->ll_mdc_exp)->obd_no_recov) - mdc_sync(sbi->ll_mdc_exp, NULL, NULL); - lprocfs_unregister_mountpoint(sbi); if (sbi->ll_proc_root) { lprocfs_remove(sbi->ll_proc_root); @@ -469,8 +464,7 @@ void ll_put_super(struct super_block *sb) OBD_ALLOC(cln_prof, len); sprintf(cln_prof, "%s-clean", sbi->ll_profile); - err = ll_process_log(sbi->ll_mds_uuid.uuid, cln_prof, - &cfg); + err = ll_process_log(sbi->ll_mds_uuid.uuid, cln_prof, &cfg); if (err < 0) CERROR("Unable to process log: %s\n", cln_prof); -- 1.8.3.1