summaryrefslogtreecommitdiff
path: root/log.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-14don't let dirty blocks be evicted from cache!Robert Morris1-0/+1
2011-10-11clarify some FS commentsRobert Morris1-10/+12
2011-09-02Add blank page to get our super FS spreads backAustin Clements1-0/+4
2011-09-02Remove comment debug prints from log.c; now fits nicely in a spreadAustin Clements1-9/+0
2011-09-02Define struct log separately from log to avoid confusing column breakerAustin Clements1-2/+3
2011-09-02Comment balanceAustin Clements1-2/+2
2011-09-02Remove unused headers from log.cAustin Clements1-3/+0
2011-09-01Fix layout issues for printed versionFrans Kaashoek1-10/+9
2011-08-29Revert "Introduce and use sleeplocks instead of BUSY flags"Frans Kaashoek1-5/+9
My changes have a race with re-used bufs and the code doesn't seem to get shorter Keep the changes that fixed ip->off race This reverts commit 3a5fa7ed9020eaf8ab843a16d26db7393b2ec072. Conflicts: defs.h file.c file.h
2011-08-26Introduce and use sleeplocks instead of BUSY flagsFrans Kaashoek1-9/+5
Remove I_BUSY, B_BUSY, and intrans defs and usages One spinlock per buf to avoid ugly loop in bget fix race in filewrite (don't update f->off after releasing lock)
2011-08-15Only commit log to disk if something was written in to it.Austin Clements1-5/+7
Without this, every write to the console results in log writes.
2011-08-15avoid deadlock by calling begin_trans() before locking any inodesRobert Morris1-2/+2
2011-08-12log write() dataRobert Morris1-32/+56
usertest for big write()s push begin_trans/commit_trans down into syscalls
2011-07-27Dirt simple loggingFrans Kaashoek1-0/+164
Passes usertests and stressfs Seems to recover correctly in a number of simple cases