#12698: Strange checkfs behavior
---------------------------+------------------------------
Reporter: X512 | Owner: axeld
Type: bug | Status: new
Priority: normal | Milestone: R1
Component: System/Kernel | Version: R1/Development
Keywords: checkfs cache | Blocked By:
Blocking: | Has a Patch: 0
Platform: All |
---------------------------+------------------------------
This is hrev50152.
When running checkfs -c sometimes I get inconsistent results such as
different count of checked nodes, blocks that could be freed and others.
Also sometimes checkfs reports that some random files that "could not be
opened". List of files that could not be opened is different after each
call of checkfs -c and sometimes empty. In theory checkfs -c should not
change anything, but check results of consecutive checkfs -c calls are
different. When checkfs returns inconsistent results, consecutive calls
are not fast as usual (for example usually second call of checkfs can be
done for about 3 seconds while first was about 10 minutes, node count is
about 300000). Running checkfs from boot usb immidiately after boot don't
cause this issue.
This is probably caused by error in disk block caching for reading.
Sample checkfs result:
{{{
checkfs -c /boothaiku_unsupported-nightly-hrev50163-x86_hybrid-raw (inode = 6815673),
checkfs -c /Haiku1259416 nodes checked,