History log of /xv6-public/log.c (Results 1 – 25 of 26)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: xv6-rev11
# 6389d9d4 09-Aug-2017 Robert Morris <rtm@csail.mit.edu>

nothing much


# 6670d3b5 11-Sep-2016 Frans Kaashoek <kaashoek@mit.edu>

Straight replacement of B_BUSY with a sleeping lock.


Revision tags: xv6-rev9
# 7894fcd2 25-Aug-2016 Frans Kaashoek <kaashoek@mit.edu>

Remove trailing white space with:
for f in *.{h,c}; do sed -i .sed 's/[[:blank:]]*$//' $f; done
(Thanks to Nicolás Wolovick)


# 8320d61b 27-Jun-2015 Frans Kaashoek <kaashoek@mit.edu>

Pick up where i left off in april:
- move log into metadata part of disk, so that marking
that the log's blocks are in use falls out for free
- superblock describes the whole disk (sizes and offets)

Pick up where i left off in april:
- move log into metadata part of disk, so that marking
that the log's blocks are in use falls out for free
- superblock describes the whole disk (sizes and offets)
- sizes and offsets are computed in one place (mkfs) and
the rest of the code refers to the superblock for these values,
instead of recomputing them.

show more ...


# c24ac5d7 03-Apr-2015 Frans Kaashoek <kaashoek@mit.edu>

Disentangle block size from the disk's sector size. Set block size to 1024 to show
that they can be different. Clean up mkfs, simplifying specifying fs parameters,
remove some redundancy between fs

Disentangle block size from the disk's sector size. Set block size to 1024 to show
that they can be different. Clean up mkfs, simplifying specifying fs parameters,
remove some redundancy between fs and mkfs, and fix disk layout bugs. Call blocks
in the file system blocks instead of sectors. Passes usertests for different
block sizes.

show more ...


# 3d2dedd4 19-Feb-2015 Cody Cutler <ccutler@csail.mit.edu>

fix buf where concurrent fs syscalls race on log entries


Revision tags: xv6-rev8
# 74c77da6 29-Aug-2014 Frans Kaashoek <kaashoek@mit.edu>

Nice layout for a printout of the code


# 2b2c1971 28-Aug-2014 Robert Morris <rtm@csail.mit.edu>

write log blocks from cache only at end of transaction


# 11183588 28-Aug-2014 Robert Morris <rtm@csail.mit.edu>

nits


# 48aa9174 28-Aug-2014 Robert Morris <rtm@csail.mit.edu>

i think this is a working concurrent logging scheme


# 71453f72 27-Aug-2014 Robert Morris <rtm@csail.mit.edu>

a start at concurrent FS system calls


# 2c565472 04-Aug-2014 Robert Morris <rtm@csail.mit.edu>

every iput() and namei() must be inside a transaction


Revision tags: xv6-rev7, osdi12-submit
# 12abb1a5 14-Oct-2011 Robert Morris <rtm@csail.mit.edu>

don't let dirty blocks be evicted from cache!


# a5fbfe41 11-Oct-2011 Robert Morris <rtm@csail.mit.edu>

clarify some FS comments


Revision tags: xv6-rev6
# 9bb1e53d 02-Sep-2011 Austin Clements <amdragon@mit.edu>

Add blank page to get our super FS spreads back


# 7fb21193 02-Sep-2011 Austin Clements <amdragon@mit.edu>

Remove comment debug prints from log.c; now fits nicely in a spread


# ee1b3306 02-Sep-2011 Austin Clements <amdragon@mit.edu>

Define struct log separately from log to avoid confusing column breaker


# a14c96f8 02-Sep-2011 Austin Clements <amdragon@mit.edu>

Comment balance


# 436f657e 02-Sep-2011 Austin Clements <amdragon@mit.edu>

Remove unused headers from log.c


# e25b74ca 01-Sep-2011 Frans Kaashoek <kaashoek@26-4-190.dynamic.csail.mit.edu>

Fix layout issues for printed version


# 1ddfbbb1 29-Aug-2011 Frans Kaashoek <kaashoek@26-4-190.dynamic.csail.mit.edu>

Revert "Introduce and use sleeplocks instead of BUSY flags"
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 co

Revert "Introduce and use sleeplocks instead of BUSY flags"
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

show more ...


# 3a5fa7ed 26-Aug-2011 Frans Kaashoek <kaashoek@Frans-Kaashoeks-MacBook-Pro.local>

Introduce and use sleeplocks instead of BUSY flags
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

Introduce and use sleeplocks instead of BUSY flags
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)

show more ...


# 843eecfc 15-Aug-2011 Austin Clements <amdragon@mit.edu>

Only commit log to disk if something was written in to it.

Without this, every write to the console results in log writes.


# 5053dd6a 15-Aug-2011 Robert Morris <rtm@csail.mit.edu>

avoid deadlock by calling begin_trans() before locking any inodes


# 2e590463 12-Aug-2011 Robert Morris <rtm@csail.mit.edu>

log write() data
usertest for big write()s
push begin_trans/commit_trans down into syscalls


12