Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-07-27 | Dirt simple logging | Frans Kaashoek | 1 | -6/+6 | |
Passes usertests and stressfs Seems to recover correctly in a number of simple cases | |||||
2011-06-24 | do not run past the end of the disk! | Nickolai Zeldovich | 1 | -1/+1 | |
[ cherry-picked de6075ff0978108daea1d658425bcb37663a98a0 ] Conflicts: fs.c | |||||
2009-10-24 | Comment typo | Austin Clements | 1 | -1/+1 | |
2009-08-30 | assorted fixes: | Russ Cox | 1 | -2/+2 | |
* rename c/cp to cpu/proc * rename cpu.context to cpu.scheduler * fix some comments * formatting for printout | |||||
2009-08-08 | shuffle and tweak for formatting. | Russ Cox | 1 | -2/+1 | |
pdf has very good page breaks now. would be a good copy for fall 2009. | |||||
2009-07-11 | rearrangements and cleanup for text | Russ Cox | 1 | -49/+50 | |
2009-05-31 | group locks into structs they protect. | rsc | 1 | -1/+1 | |
few naming nits. | |||||
2009-05-31 | fix bug fix | rsc | 1 | -2/+2 | |
2009-05-31 | tidy fs.c; bmap callers always expected allocation | rsc | 1 | -24/+15 | |
2009-05-31 | inode reuse bug. | rsc | 1 | -1/+1 | |
Suppose an inode has been used and freed. It is left marked I_VALID (the bug). Now ialloc comes along and reuses the inode. It writes the new inode type to disk and returns iget(dev, inum) to get the cache entry. Iget sees that the inode is valid and doesn't bother refreshing from disk. Now when the caller iupdates, it will write out a zero type and the file or directory has disappeared. | |||||
2009-05-31 | drop NADDRS and INDIRECT; too many names | rsc | 1 | -6/+6 | |
2008-10-20 | Explain why itrunc() is OK w.r.t. crashes. | rtm | 1 | -0/+2 | |
2008-10-16 | free the indirect block | kolya | 1 | -0/+1 | |
2008-10-08 | be clear what the root i-number is | rtm | 1 | -1/+1 | |
2007-08-28 | final nits | rsc | 1 | -3/+3 | |
2007-08-28 | spaces around else for rtm | rsc | 1 | -2/+1 | |
2007-08-28 | more consistent spacing | rsc | 1 | -18/+18 | |
2007-08-28 | Change dev read/write functions | rsc | 1 | -2/+2 | |
to take inode* instead of minor number. Unlock console inode during console_read and console_write. Otherwise background processes cannot write to console while the shell is reading it waiting for input. | |||||
2007-08-28 | nit | rsc | 1 | -3/+3 | |
2007-08-28 | No one is going to find this inode. | rsc | 1 | -1/+1 | |
There is only one ref to it -- the caller -- and no links to it. | |||||
2007-08-27 | delete unnecessary #include lines | rsc | 1 | -3/+2 | |
2007-08-27 | nits | rsc | 1 | -29/+23 | |
2007-08-27 | tell what an inode is | rsc | 1 | -4/+9 | |
2007-08-27 | FS cleanup. | rsc | 1 | -46/+52 | |
Add utility routines bzero, readsb so that balloc, bfree fit on one page. Make balloc loop clearer. | |||||
2007-08-24 | shuffle for formatting | rsc | 1 | -12/+18 | |
2007-08-24 | first ever correct use of strncpy | rsc | 1 | -22/+2 | |
2007-08-24 | Remove struct uinode. | rsc | 1 | -52/+42 | |
Remove type arg to mknod (assume T_DEV). | |||||
2007-08-24 | nits | rsc | 1 | -1/+1 | |
2007-08-24 | simplify ide queuing | rtm | 1 | -9/+11 | |
nits in comments | |||||
2007-08-24 | add missing iput() at end of _namei() | rtm | 1 | -4/+6 | |
2007-08-22 | tweaks | rsc | 1 | -22/+18 | |
2007-08-22 | PDF at http://am.lcs.mit.edu/~rsc/xv6.pdf | rsc | 1 | -291/+120 | |
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 | |||||
2007-08-21 | remove namelen parameter | rsc | 1 | -65/+81 | |
2007-08-21 | Various cleanup: | rsc | 1 | -105/+148 | |
- Got rid of dummy proc[0]. Now proc[0] is init. - Added initcode.S to exec /init, so that /init is just a regular binary. - Moved exec out of sysfile to exec.c - Moved code dealing with fs guts (like struct inode) from sysfile.c to fs.c. Code dealing with system call arguments stays in sysfile.c - Refactored directory routines in fs.c; should be simpler. - Changed iget to return *unlocked* inode structure. This solves the lookup-then-use race in namei without introducing deadlocks. It also enabled getting rid of the dummy proc[0]. | |||||
2007-08-20 | checkpoint - simpler namei interface | rsc | 1 | -84/+86 | |
2007-08-20 | shuffle fs.c in bottom-up order | rsc | 1 | -315/+313 | |
2007-08-10 | various cleanups | rsc | 1 | -55/+42 | |
2007-08-10 | Make cp a magic symbol. | rsc | 1 | -6/+5 | |
2007-08-09 | The final curproc[cpu()] is now cp | rsc | 1 | -4/+3 | |
2007-08-09 | Clearer namei | rsc | 1 | -69/+106 | |
2007-08-08 | move ialloc body up, avoiding double check for end of loop | rsc | 1 | -11/+7 | |
2007-08-08 | panic like bget | rsc | 1 | -1/+1 | |
2007-08-08 | iincref returns new ref | rsc | 1 | -5/+5 | |
2007-08-08 | fix . .. unlink bug | rsc | 1 | -0/+6 | |
2006-09-08 | some comment changes | kaashoek | 1 | -1/+1 | |
2006-09-08 | ++ | rsc | 1 | -1/+1 | |
2006-09-08 | fix various comments | rsc | 1 | -6/+0 | |
2006-09-07 | allow long names again | rsc | 1 | -8/+7 | |
2006-09-07 | clean namei search loop | rsc | 1 | -22/+23 | |
2006-09-07 | comments | rsc | 1 | -6/+60 | |