[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 0/5] Towards a restartable oxenstored



On 07/04/17 15:15, Andrew Cooper wrote:
On 07/04/17 14:27, Jonathan Davies wrote:
With these patches, the state saved on exit contains information about
inter-domain connections and active watches, and the contents of the
store. Some internal state is not currently preserved over a restart:
  1. quota usage info
  2. partially-read and already-queued packets from rings
  3. recent transaction history

Items 1 and 2 are probably needed for this to be considered fully
functional, so fixes for them should follow. But the bugfixes in this
series already represent a worthwhile improvement.

Shouldn't quota usage be recalculated as part of parsing the stashed
database?  After all, the database is the canonical state of the world.
What would you do if the database and the stashed quota differ?

You're right. This would be recalculated when loading the saved state.

I had in mind that there were some quotas of "dynamic" things that aren't derived from the contents alone, but I can't spot them in the code so must have been imagining them.

So there's no need to dump quota state to disk.

Thanks,
Jonathan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.