#
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 ...
|
#
327cc21f |
| 19-Aug-2011 |
Robert Morris <rtm@csail.mit.edu> |
make dirlookup and dirlink more similar
|
#
5053dd6a |
| 15-Aug-2011 |
Robert Morris <rtm@csail.mit.edu> |
avoid deadlock by calling begin_trans() before locking any inodes
|
#
2e590463 |
| 12-Aug-2011 |
Robert Morris <rtm@csail.mit.edu> |
log write() data usertest for big write()s push begin_trans/commit_trans down into syscalls
|
#
13a96bae |
| 28-Jul-2011 |
Frans Kaashoek <kaashoek@Frans-Kaashoeks-MacBook-Pro.local> |
Dirt simple logging Passes usertests and stressfs Seems to recover correctly in a number of simple cases
|
#
96b7da5f |
| 24-Jun-2011 |
Nickolai Zeldovich <nickolai@csail.mit.edu> |
do not run past the end of the disk! [ cherry-picked de6075ff0978108daea1d658425bcb37663a98a0 ]
Conflicts:
fs.c
|
Revision tags: xv6-rev5, xv6-2010, xv6-rev4 |
|
#
745e73cd |
| 25-Oct-2009 |
Austin Clements <amdragon@mit.edu> |
Comment typo
|
Revision tags: xv6-rev3 |
|
#
48755214 |
| 31-Aug-2009 |
Russ Cox <rsc@swtch.com> |
assorted fixes: * rename c/cp to cpu/proc * rename cpu.context to cpu.scheduler * fix some comments * formatting for printout
|
#
0aef8914 |
| 08-Aug-2009 |
Russ Cox <rsc@swtch.com> |
shuffle and tweak for formatting. pdf has very good page breaks now. would be a good copy for fall 2009.
|
#
f9a06440 |
| 12-Jul-2009 |
Russ Cox <rsc@swtch.com> |
rearrangements and cleanup for text
|
#
34295f46 |
| 31-May-2009 |
rsc <rsc> |
group locks into structs they protect. few naming nits.
|
#
ce72cadb |
| 31-May-2009 |
rsc <rsc> |
fix bug fix
|
#
13ae8808 |
| 31-May-2009 |
rsc <rsc> |
tidy fs.c; bmap callers always expected allocation
|
#
f12551b5 |
| 31-May-2009 |
rsc <rsc> |
inode reuse bug.
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(de
inode reuse bug.
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.
show more ...
|
#
ba6cd8a6 |
| 31-May-2009 |
rsc <rsc> |
drop NADDRS and INDIRECT; too many names
|
#
8eb20827 |
| 20-Oct-2008 |
rtm <rtm> |
Explain why itrunc() is OK w.r.t. crashes.
|
#
e1626709 |
| 16-Oct-2008 |
kolya <kolya> |
free the indirect block
|
#
2ce40d70 |
| 08-Oct-2008 |
rtm <rtm> |
be clear what the root i-number is
|
Revision tags: xv6-2008, xv6-2007, xv6-rev1 |
|
#
bf2932a6 |
| 28-Aug-2007 |
rsc <rsc> |
final nits
|
#
5516be1f |
| 28-Aug-2007 |
rsc <rsc> |
spaces around else for rtm
|
#
e4d6a211 |
| 28-Aug-2007 |
rsc <rsc> |
more consistent spacing
|
#
d844f0f9 |
| 28-Aug-2007 |
rsc <rsc> |
Change dev read/write functions 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
Change dev read/write functions 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.
show more ...
|
#
3341e30f |
| 28-Aug-2007 |
rsc <rsc> |
nit
|
#
8970df0c |
| 28-Aug-2007 |
rsc <rsc> |
No one is going to find this inode. There is only one ref to it -- the caller -- and no links to it.
|
#
558ab49f |
| 27-Aug-2007 |
rsc <rsc> |
delete unnecessary #include lines
|