Messages in this thread | | | Date | Wed, 7 Jan 1998 00:23:30 -0800 (PST) | From | a sun <> | Subject | rev2 of hfs dentry code |
| |
i went through and rewrote the catalogue caching to be almost identical to what the 2.1.x inode.c does. i'm still not sure if i have everything correct, so i would like people to test the code. there's probably areas of redundancy as well. here's a synopsis of what the code does (read the ChangeLog for more info): 1) hopefully a better cache pruning scheme. 2) hashes everything to lowercase. 3) the catalogue cache should now be SMP safe due to the re-write. 4) moved the inline dentry functions to hfs.h. 5) fixed notify_change. 6) made df -i report allocation blocks available/free as i thought that would be a useful thing to know and it seemed semantically similar enough to inodes to warrant. 6) changed version to 0.95+asun2
i've tested it with netatalk and haven't noticed any problems there.
current issues: 1) it really needs people to bang on it. if you want to test the catalogue caching code, i suggest editing catalog.c and reducing CCACHE_MAX to something small like 32. that's how i tested it. 2) the current locations of various bits may not be the best. things will definitely have to be separated better if the code gets ported to *BSD or something like that.
what the files mean: 1) 0.95-dentry2.diff.gz is the diff against 0.95 2) dentry-dentry2.diff.gz is the diff against the first version. 3) hfs_fs-dentry2.tar.gz is the complete tarball.
you can get it at <ftp://ftp.u.washington.edu:/public/asun>.
have fun,
-adrian
| |