Implemented a simple directory entry cache to speed up path resolution.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27366 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-09-08 05:08:37 +00:00
parent 204737b832
commit ee1a1571a2
5 changed files with 237 additions and 1 deletions
+17
View File
@@ -2238,6 +2238,23 @@ fssh_write_file_io_vec_pages(int fd, const fssh_file_io_vec *fileVecs,
}
extern "C" fssh_status_t
fssh_entry_cache_add(fssh_dev_t mountID, fssh_ino_t dirID, const char* name,
fssh_ino_t nodeID)
{
// We don't implement an entry cache in the FS shell.
return FSSH_B_OK;
}
extern "C" fssh_status_t
fssh_entry_cache_remove(fssh_dev_t mountID, fssh_ino_t dirID, const char* name)
{
// We don't implement an entry cache in the FS shell.
return FSSH_B_ENTRY_NOT_FOUND;
}
// #pragma mark - private VFS API
// Functions the VFS exports for other parts of the kernel