History log of /xv6-public/buf.h (Results 1 – 12 of 12)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: xv6-rev11
# 2adb7c21 12-Sep-2016 Frans Kaashoek <kaashoek@mit.edu>

Move retry loop/sleep/wakeup in bio.c into sleeping locks


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

Straight replacement of B_BUSY with a sleeping lock.


Revision tags: xv6-rev9
# 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 ...


Revision tags: xv6-rev8, xv6-rev7, osdi12-submit, xv6-rev6
# 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 ...


Revision tags: xv6-rev5, xv6-2010, xv6-rev4, xv6-rev3, xv6-2008, xv6-2007, xv6-rev1
# d003d232 27-Aug-2007 rsc <rsc>

Another attempt at the bio.c comment.

Rename B_WRITE to B_DIRTY and then let ide.c
maintain the B_VALID and B_DIRTY flags.


# 902b13f5 24-Aug-2007 rtm <rtm>

simplify ide queuing
nits in comments


Revision tags: symlinks, xv6-2006, xv6-rev0
# 8e1d1ec9 08-Sep-2006 kaashoek <kaashoek>

some comment changes


# cd93074e 12-Aug-2006 rtm <rtm>

LRU disk cache replacement


# 14938f93 12-Aug-2006 rtm <rtm>

buffer cache, fifo replacement


# 43572072 12-Aug-2006 rtm <rtm>

fix getblk to actually lock the block
no more cons_put system calls
usertests tests two processes writing files


# 11a9947f 21-Jul-2006 rtm <rtm>

bread
iget
mkfs makes a file system image
put this in your .bochsrc:
ata0-slave: type=disk, mode=flat, path="fs.img", cylinders=1024, heads=1, spt=1