History log of /haiku/src/add-ons/kernel/file_systems/userlandfs/server/haiku/file_cache.cpp
Revision Date Author Comments
# 422eeed6 15-Oct-2020 Murai Takashi <tmurai01@gmail.com>

file_systems/userlandfs: Fix -WFormat=

Change-Id: Ib36c0696be0604e452ba68158fe98ecf31b4216f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3337
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# c481d020 17-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

BFS happily calls file_cache_{set_size,sync}() with NULL pointers, which the
kernel implementation ignores, so we should allow that in userland, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29580 a95241bf-73f2-0310-859d-f6bbb57e9c96


# efdfca15 15-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added debug output.
* Passing a NULL parameter to file_cache_delete() is OK.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29553 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0dcccb49 04-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Implemented the client side of the file cache operations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29401 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 67cf3a62 28-Feb-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Removed the file cache emulation and added implementation stubs for the file
cache functions. We won't emulate the file cache in userland anymore, but
forward the calls to the kernel. Besides that this will save quite a bit of
emulation code, it will also make mmap()ing files on UserlandFS volumes
possible. The drawback is that these calls will be slower.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29349 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c481d0201747f70cee95d41e45eaa8694542fa7b 17-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

BFS happily calls file_cache_{set_size,sync}() with NULL pointers, which the
kernel implementation ignores, so we should allow that in userland, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29580 a95241bf-73f2-0310-859d-f6bbb57e9c96


# efdfca155179f350efe604e900402d9724836447 15-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added debug output.
* Passing a NULL parameter to file_cache_delete() is OK.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29553 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0dcccb4986bbae888c2dab92cd4c02efab945909 04-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Implemented the client side of the file cache operations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29401 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 67cf3a62b49362a086ab35930b86d0f6eeec7531 28-Feb-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Removed the file cache emulation and added implementation stubs for the file
cache functions. We won't emulate the file cache in userland anymore, but
forward the calls to the kernel. Besides that this will save quite a bit of
emulation code, it will also make mmap()ing files on UserlandFS volumes
possible. The drawback is that these calls will be slower.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29349 a95241bf-73f2-0310-859d-f6bbb57e9c96