Turned off debug output again - also temporarily removed the file cache warning

about our block_io module not honouring the total length in read_pages().
Removed drops into the debugger when there is a block without an "original"
data buffer - that's completely normal and happens when someone asks for
a cleared block that is not yet in the cache.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14437 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-10-19 23:01:57 +00:00
parent d7f0a6f215
commit 1c88c851ad
2 changed files with 2 additions and 14 deletions
+1 -1
View File
@@ -323,7 +323,7 @@ pages_io(file_cache_ref *ref, off_t offset, const iovec *vecs, size_t count,
// a) also use this direct I/O for writes (otherwise, it would overwrite precious data)
// b) panic if the term below is true (at least for writes)
if (size > fileVecs[0].length) {
dprintf("warning: device driver %p doesn't respect total length in read_pages() call!\n", ref->device);
//dprintf("warning: device driver %p doesn't respect total length in read_pages() call!\n", ref->device);
size = fileVecs[0].length;
}