Improved debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41833 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d9a26469df
commit
ad63c6796c
@ -380,12 +380,15 @@ IOCache::_TransferRequestLine(IORequest* request, off_t lineOffset,
|
||||
status_t error = _TransferPages(firstMissing - firstPageOffset,
|
||||
missingPages, false, isVIP);
|
||||
if (error != B_OK) {
|
||||
_DiscardPages(firstMissing - firstPageOffset, missingPages);
|
||||
|
||||
dprintf("IOCache: falling back to uncached transfer, offset %"
|
||||
B_PRIiOFF ", length %" B_PRIuSIZE "\n", requestOffset,
|
||||
dprintf("IOCache::_TransferRequestLine(): Failed to read into "
|
||||
"cache (offset: %" B_PRIdOFF ", length: %" B_PRIuSIZE "), "
|
||||
"trying uncached read (offset: %" B_PRIdOFF ", length: %"
|
||||
B_PRIuSIZE ")\n", (off_t)firstMissing * B_PAGE_SIZE,
|
||||
(size_t)missingPages * B_PAGE_SIZE, requestOffset,
|
||||
requestLength);
|
||||
|
||||
_DiscardPages(firstMissing - firstPageOffset, missingPages);
|
||||
|
||||
// Try again using an uncached transfer
|
||||
return _TransferRequestLineUncached(request, lineOffset,
|
||||
requestOffset, requestLength);
|
||||
|
Loading…
Reference in New Issue
Block a user