Opened 4 years ago

Last modified 4 years ago

#16811 new bug

packagefs: KDL when scanning partition with DiskUsage

Reported by: X512 Owned by: bonefish
Priority: normal Milestone: Unscheduled
Component: File Systems/packagefs Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by X512)

This is hrev54837 x86_gcc2.

KDL message: PANIC: vm_page_fault: unhandled page fault in kernel space at 0xdeadbef7, ip 0x81af8306.

Attachments (1)

CIMG4679-2.JPG (1.1 MB ) - added by X512 4 years ago.

Download all attachments as: .zip

Change History (4)

by X512, 4 years ago

Attachment: CIMG4679-2.JPG added

comment:1 by X512, 4 years ago

Description: modified (diff)

comment:2 by X512, 4 years ago

DiskUsage probably should not scan packagefs directories at all because it will produce false disc usage numbers. Only package files takes disk space.

in reply to:  2 comment:3 by pulkomandy, 4 years ago

Replying to X512:

DiskUsage probably should not scan packagefs directories at all because it will produce false disc usage numbers. Only package files takes disk space.

I already implemented the filtering in DiskUsage. It still browse the packaged directory because it needs to access non-packaged, settings, and other shine-through directories. But for each file it checks the device it is stored on (from the dev_t in entry_ref), and ignores the ones that are in another device than the one being scanned.

https://git.haiku-os.org/haiku/commit/src/apps/diskusage?id=af960311c029f40bf5fbb7ced8db7fbf919d6880

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