summaryrefslogtreecommitdiff
path: root/Notes
diff options
context:
space:
mode:
authorrtm <rtm>2006-08-13 15:51:58 +0000
committerrtm <rtm>2006-08-13 15:51:58 +0000
commit17e3cf15bac0c1ac60780ce7d1d228442ff08ed9 (patch)
tree3a0f316e47341d71e9edc1715fc232a71dcb7692 /Notes
parent8abe2bcf156cce7beec21b259a59aaaa538165c0 (diff)
downloadxv6-labs-17e3cf15bac0c1ac60780ce7d1d228442ff08ed9.tar.gz
xv6-labs-17e3cf15bac0c1ac60780ce7d1d228442ff08ed9.tar.bz2
xv6-labs-17e3cf15bac0c1ac60780ce7d1d228442ff08ed9.zip
fix iget() bug that allocated in-use inode[] entries
Diffstat (limited to 'Notes')
-rw-r--r--Notes14
1 files changed, 3 insertions, 11 deletions
diff --git a/Notes b/Notes
index 4bb9552..ab28ec3 100644
--- a/Notes
+++ b/Notes
@@ -357,7 +357,6 @@ OH! recursive interrupts will use up any amount of cpu[].stack!
disk scheduling
mkdir
-more than one directory content block
sh arguments
sh redirection
indirect blocks
@@ -366,17 +365,10 @@ two bugs in unlink: don't just return if nlink > 0,
is there a create/create race for same file name?
resulting in two entries w/ same name in directory?
-namei
- return just inode
- return offset in dir where found, w/ dir locked, for unlink
- return dir locked, for mknod
-
-is the offset alone useful? how do I read/write it?
-
test: one process unlinks a file while another links to it
test: simultaneous create of same file
test: one process opens a file while another deletes it
-oy, mkfs wants dir size to be last written entry, but i
- want it to be nblocks*512
- maybe fix kernel code to handle former
+wdir should use writei, to avoid special-case block allocation
+ also readi
+ is dir locked? probably