storage_flush() should be done before disabling interrupts in ROLO.