summaryrefslogtreecommitdiff
path: root/file.h
AgeCommit message (Collapse)Author
2019-06-11separate source into kernel/ user/ mkfs/Robert Morris
2019-06-04support read() and write() bigger than one pageRobert Morris
2017-08-29fix runoff complaints about pagination and long linesRobert Morris
2017-08-08protect ip->valid and ip->nlink with sleep lock in iput()Robert Morris
2017-08-08change ip->flags&I_VALID to ip->validRobert Morris
2016-09-11Replace I_BUSY with sleep locksFrans Kaashoek
2014-08-29Nice layout for a printout of the codeFrans Kaashoek
2011-10-11clarify some FS commentsRobert Morris
2011-08-29Revert "Introduce and use sleeplocks instead of BUSY flags"Frans Kaashoek
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 Clements
2011-08-26Introduce and use sleeplocks instead of BUSY flagsFrans Kaashoek
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 Cox
pdf has very good page breaks now. would be a good copy for fall 2009.
2009-05-31simplifyrsc
2007-08-24Remove struct uinode.rsc
Remove type arg to mknod (assume T_DEV).
2007-08-22PDF at http://am.lcs.mit.edu/~rsc/xv6.pdfrsc
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.*rsc