Opened 4 years ago

Last modified 4 years ago

#12501 new bug

Page fault in file_cache_sync

Reported by: jessicah Owned by: axeld
Priority: normal Milestone: Unscheduled
Component: System/Kernel Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Was performing big copies with Tracker when it KDL'd (two copy operations at once), triggered by what looks like perhaps running out of vnodes...

Attachments (1)

File_000.jpeg (2.0 MB) - added by jessicah 4 years ago.
KDL

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by jessicah

Attachment: File_000.jpeg added

KDL

comment:1 Changed 4 years ago by phoudoin

Well, guess that the vnode VMCache is not set or not valid anymore:

https://cgit.haiku-os.org/haiku/tree/src/system/kernel/cache/file_cache.cpp#n1278

I also wonder in cache_prefetch_vnode() if the resource guard:

https://cgit.haiku-os.org/haiku/tree/src/system/kernel/cache/file_cache.cpp#n964

... is not misplaced. What will forbid to exaust, on a big file, the whole vnode cache in the prefetch loop done below this check?

Shouldn't the check be moved in the while loop instead?

Last edited 4 years ago by phoudoin (previous) (diff)
Note: See TracTickets for help on using tickets.