#4088 NORM First D: Files should be synced to Nand when battery is critically low
Zarro Boogs per Child
bugtracker at laptop.org
Wed Oct 10 04:09:51 EDT 2007
#4088: Files should be synced to Nand when battery is critically low
----------------------------------+-----------------------------------------
Reporter: HoboPrimate | Owner: cjb
Type: defect | Status: new
Priority: normal | Milestone: First Deployment, V1.0
Component: power manager (OHM) | Version:
Resolution: | Keywords:
Verified: 0 |
----------------------------------+-----------------------------------------
Comment(by tomeu):
Replying to [comment:8 cjb]:
> Can't the datastore just sync on SIGTERM, avoiding having to listen for
anything? (You'd need to be finished submitting blocks to write within a
few seconds, though.)
The DS should already be syncing on SIGTERM, but that won't prevent the
last work done in activities being lost.
Activities should listen to that signal from OHM, request the datastore to
save their state, and then the datastore should sync.
Perhaps, after the DS has received the shutdown signal from OHM, it should
sync after each save request, instead of sync'ing from time to time.
--
Ticket URL: <https://dev.laptop.org/ticket/4088#comment:9>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list