summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'log.c')
-rw-r--r--log.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/log.c b/log.c
index 1814edc..95cc4d5 100644
--- a/log.c
+++ b/log.c
@@ -5,7 +5,7 @@
#include "fs.h"
#include "buf.h"
-// Simple logging. Each system call that might write the file system
+// Simple logging. Each file system system call
// should be surrounded with begin_trans() and commit_trans() calls.
//
// The log holds at most one transaction at a time. Commit forces
@@ -18,10 +18,6 @@
// one transaction reading a block that another one has modified,
// for example an i-node block.
//
-// Read-only system calls don't need to use transactions, though
-// this means that they may observe uncommitted data. I-node and
-// buffer locks prevent read-only calls from seeing inconsistent data.
-//
// The log is a physical re-do log containing disk blocks.
// The on-disk log format:
// header block, containing sector #s for block A, B, C, ...