haiku/src
Axel Dörfler 257d99f228 Renamed readwrite() to cache_io(), and readwrite_pages() to pages_io().
While we can tolerate the device driver to ignore the bytes argument when we
read from the device, we cannot do this for writes - now the code actually
takes this into account. Also added a comment about what to do when our own
driver is fixed :)
Implemented file_cache_sync().
file_cache_set_size() now uses vm_cache::virtual_size instead of the now
removed vnode_store::size. Also, it now resizes the vm_cache as well, so
that any no longer used pages are freed.
write_to_cache() now puts all pages in the modified list, so that they
can be written back easily.
Improved debug output.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 03:27:45 +00:00
..
add-ons file_cache_create() fails when it's called before the vnode is created. 2004-11-23 01:40:44 +00:00
apps added a clockconfig bin tool 2004-11-22 17:26:28 +00:00
data added timezone source files from ftp://elsie.nci.nih.gov/pub/tzdata2004g.tar.gz 2004-11-19 19:34:35 +00:00
kernel Renamed readwrite() to cache_io(), and readwrite_pages() to pages_io(). 2004-11-23 03:27:45 +00:00
kits Disabled building the DiskDevice stuff separately. The tests don't work at moment anyway. 2004-11-22 15:43:47 +00:00
libs suppress warnings on imported code 2004-11-22 04:24:04 +00:00
prefs address compiler warnings 2004-11-22 02:00:59 +00:00
servers Removed default value from parameter list. 2004-11-21 14:41:12 +00:00
tests Added find_directory() test application. Unlike the other tests, it only 2004-11-22 17:44:11 +00:00
tools address compiler warnings 2004-11-21 18:22:53 +00:00
Jamfile Added data directory, it should contain generated data files 2004-11-19 19:25:44 +00:00