dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Safe powerdown feature

Re: Safe powerdown feature

From: c s <>
Date: Mon, 26 Jul 2004 17:35:10 -0700 (PDT)

--- Linus Nielsen Feltzing <> wrote:
> Andreas Stemmer wrote:
> > I just noticed that the safe powerdown feature
> spins up the drive every time
> > before shutting down, even if there's nothing to
> write. Are there any
> > reasons for this behaviour?
> Yes. There is currently no way of knowing if the
> settings have changed
> or not, so we have to write them to disk every time.
> Linus

Since ata_delayed_write is called (indirectly via
settings_save) to update the disk whenever settings
are changed, don't we just need to spin up the disk
only if the delayed_write flag is set, i.e. if a
delayed write is pending?


Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now.
Received on 2004-07-27

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy