summaryrefslogtreecommitdiff
path: root/file.h
AgeCommit message (Collapse)AuthorFilesLines
2014-08-29Nice layout for a printout of the codeFrans Kaashoek1-0/+3
2011-10-11clarify some FS commentsRobert Morris1-5/+3
2011-08-29Revert "Introduce and use sleeplocks instead of BUSY flags"Frans Kaashoek1-4/+3
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-29Renumber I_VALID since I_BUSY is goneAustin Clements1-1/+1
2011-08-26Introduce and use sleeplocks instead of BUSY flagsFrans Kaashoek1-3/+3
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)
2009-08-08shuffle and tweak for formatting.Russ Cox1-0/+32
pdf has very good page breaks now. would be a good copy for fall 2009.
2009-05-31simplifyrsc1-1/+1
2007-08-24Remove struct uinode.rsc1-1/+1
Remove type arg to mknod (assume T_DEV).
2007-08-22PDF at http://am.lcs.mit.edu/~rsc/xv6.pdfrsc1-2/+2
Various changes made while offline. + bwrite sector argument is redundant; use b->sector. + reformatting of files for nicer PDF page breaks + distinguish between locked, unlocked inodes in type signatures + change FD_FILE to FD_INODE + move userinit (nee proc0init) to proc.c + move ROOTDEV to param.h + always parenthesize sizeof argument
2006-09-06fd.* -> file.*rsc1-0/+9