FS#6408 - Settings not saved to disk?

Attached to Project: Rockbox
Opened by Peter D'Hoye (petur) - Saturday, 02 December 2006, 16:24 GMT
Last edited by Peter D'Hoye (petur) - Saturday, 02 December 2006, 16:26 GMT
Task Type Bugs
Category Operating System/Drivers
Status Closed
Assigned To No-one
Operating System All players
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Moos discovered that dircache kept giving the scanning splash, and I have traced the issue up to the point where it looks like the value never makes it to disk.

set_bits() encodes the correct value, but get_bits() reads 0. This I'm now 100% sure.

this works ok if using rolo, so it must be related to the actual spinning up and writing to the disk. Or maybe the disk doesn't flush its cache?

to test:
- disable dircache and reboot
- enable dircache, reboot
- next boots will always show the scanning splash because dircache_size is read from disk as zero.
This task depends upon

Closed by  Jonathan Gordon (jdgordon)
Wednesday, 06 December 2006, 12:12 GMT
Reason for closing:  Fixed