diff options
author | Robert Morris <[email protected]> | 2011-10-14 10:23:23 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2011-10-14 10:23:23 -0400 |
commit | 12abb1a56164a0d71fb7a76a465c912409f2f60b (patch) | |
tree | bc03592160be0e13960a9c106ecf5d48aadbe897 /log.c | |
parent | 38eee5bca75cc16d40101953bc2003bb77d452e7 (diff) | |
download | xv6-labs-12abb1a56164a0d71fb7a76a465c912409f2f60b.tar.gz xv6-labs-12abb1a56164a0d71fb7a76a465c912409f2f60b.tar.bz2 xv6-labs-12abb1a56164a0d71fb7a76a465c912409f2f60b.zip |
don't let dirty blocks be evicted from cache!
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -177,6 +177,7 @@ log_write(struct buf *b) brelse(lbuf); if (i == log.lh.n) log.lh.n++; + b->flags |= B_DIRTY; // XXX prevent eviction } //PAGEBREAK! |