Frans Kaashoek
3a5fa7ed90
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)
2011-08-26 10:08:29 -04:00
rsc
d003d232fc
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.
2007-08-27 14:09:30 +00:00
rtm
902b13f5d6
simplify ide queuing
...
nits in comments
2007-08-24 19:32:36 +00:00
kaashoek
8e1d1ec934
some comment changes
2006-09-08 14:36:44 +00:00
rtm
cd93074e5b
LRU disk cache replacement
2006-08-12 22:34:13 +00:00
rtm
14938f9392
buffer cache, fifo replacement
2006-08-12 17:17:35 +00:00
rtm
4357207237
fix getblk to actually lock the block
...
no more cons_put system calls
usertests tests two processes writing files
2006-08-12 11:38:57 +00:00
rtm
11a9947f1a
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
2006-07-21 13:18:04 +00:00