History log of /xv6-public/bio.c (Results 1 – 25 of 47)
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


# 70705966 09-Aug-2017 Robert Morris <rtm@csail.mit.edu>

comment fixes


# 912575ad 15-Sep-2016 Frans Kaashoek <kaashoek@mit.edu>

Remove left-over print statements


# 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
# 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)


# 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
# 74c77da6 29-Aug-2014 Frans Kaashoek <kaashoek@mit.edu>

Nice layout for a printout of the code


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

i think this is a working concurrent logging scheme


# 12eeefc7 27-Aug-2014 Robert Morris <rtm@csail.mit.edu>

comments


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
# 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
# af03ab14 23-Jul-2010 Frans Kaashoek <kaashoek@31-34-210.wireless.csail.mit.edu>

a few nits
passes all tests on two-processor smp


# 7d7465a8 01-Dec-2009 Frans Kaashoek <kaashoek@30-93-167.dynamic.csail.mit.edu>

8ae0 instead of 8e00, thanks yandong


Revision tags: xv6-rev3
# 34295f46 31-May-2009 rsc <rsc>

group locks into structs they protect.
few naming nits.


# 0badeaa2 31-May-2009 rsc <rsc>

bio.c: use struct like icache does


# 0ca9ca0c 31-May-2009 rsc <rsc>

slight rearrangement; sleep on b not buf.


# 21575761 08-Mar-2009 rsc <rsc>

be consistent: no underscores in function names


Revision tags: xv6-2008, xv6-2007, xv6-rev1
# 6eed1ee9 28-Aug-2007 rsc <rsc>

formatting


# 558ab49f 27-Aug-2007 rsc <rsc>

delete unnecessary #include lines


# 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.


# 872a63e1 24-Aug-2007 rsc <rsc>

nits


# 4d39b633 24-Aug-2007 rsc <rsc>

nits


12