Created
May 1, 2015 04:13
-
-
Save benesch/deac87a462a8b79d2089 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/kern/fs/sfs/sfs_jphys.c b/kern/fs/sfs/sfs_jphys.c | |
index 1fe9cac..898cdc2 100644 | |
--- a/kern/fs/sfs/sfs_jphys.c | |
+++ b/kern/fs/sfs/sfs_jphys.c | |
@@ -1912,7 +1912,7 @@ sfs_jphys_startwriting(struct sfs_fs *sfs) | |
jp->jp_writermode = true; | |
/* start checkpoint daemon */ | |
- /* TODO: start_checkpoint_daemon(sfs); */ | |
+ start_checkpoint_daemon(sfs); | |
return 0; | |
} | |
@@ -1962,12 +1962,11 @@ sfs_jphys_stopwriting(struct sfs_fs *sfs) | |
KASSERT(jp->jp_writermode); | |
/* kill checkpoint daemon and manually checkpoint */ | |
- /* | |
+ | |
kill_checkpoint_daemon(); | |
lock_release(jp->jp_lock); | |
checkpoint(sfs); | |
lock_acquire(jp->jp_lock); | |
- */ | |
/* | |
* We should have just checkpointed and flushed; there should |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment