Whamcloud - gitweb
Branch b_new_cmd
authorvitaly <vitaly>
Mon, 27 Nov 2006 17:44:01 +0000 (17:44 +0000)
committervitaly <vitaly>
Mon, 27 Nov 2006 17:44:01 +0000 (17:44 +0000)
b=22564

cancel all the locks on umount before shutting down the close thread
to flush all the dirty cache and send needed Size-on-MDS updates on MDS.

lustre/llite/llite_lib.c

index cfe9a71..bd0d66e 100644 (file)
@@ -648,6 +648,8 @@ void client_common_put_super(struct super_block *sb)
         struct ll_sb_info *sbi = ll_s2sbi(sb);
         ENTRY;
 
+        obd_cancel_unused(sbi->ll_dt_exp, NULL, 0, NULL);
+
         ll_close_thread_shutdown(sbi->ll_lcq);
 
         /* destroy inodes in deathrow */