Added functions file_cache_{disable,enable}(). They allow to disable
actual caching in the file cache, i.e. all reads and writes go directly to the underlying device. The implementation is not quite complete, since the VM can still add pages to the cache when the file is mmap()ed, which can lead to inconsistencies. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26779 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -828,6 +828,8 @@
|
||||
/* file cache */
|
||||
#define file_cache_create fssh_file_cache_create
|
||||
#define file_cache_delete fssh_file_cache_delete
|
||||
#define file_cache_enable fssh_file_cache_enable
|
||||
#define file_cache_disable fssh_file_cache_disable
|
||||
#define file_cache_set_size fssh_file_cache_set_size
|
||||
#define file_cache_sync fssh_file_cache_sync
|
||||
|
||||
|
||||
Reference in New Issue
Block a user