All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu2@citrix.com>
To: Juergen Gross <jgross@suse.com>
Cc: xen-devel@lists.xenproject.org, wei.liu2@citrix.com,
	ian.jackson@eu.citrix.com, jbeulich@suse.com
Subject: Re: [PATCH 1/2] tools/xenstore: start with empty data base
Date: Fri, 13 Jan 2017 10:49:15 +0000	[thread overview]
Message-ID: <20170113104915.GC5089@citrix.com> (raw)
In-Reply-To: <20170110161339.9529-2-jgross@suse.com>

On Tue, Jan 10, 2017 at 05:13:38PM +0100, Juergen Gross wrote:
> Today xenstored tries to open a tdb data base file on disk when it is
> started. As this is problematic in most cases the scripts used to start
> xenstored ensure xenstored won't find such a file in order to start
> with an empty xenstore.
> 
> A tdb data base file can't be used to restore all Xenstore state as
> e.g. Xenstore watches are not kept in the tdb data base. The file is
> meant to be used for debugging purposes after a xenstored crash only.
> 
> Instead of opening a Xenstore data base file found on disk always start
> with an empty data base. This will avoid problems in case someone is
> testing multiple xenstored versions without rebooting (which is not
> supported but helps debugging in some cases).
> 
> Signed-off-by: Juergen Gross <jgross@suse.com>

Acked-by: Wei Liu <wei.liu2@citrix.com>

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

  reply	other threads:[~2017-01-13 10:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-10 16:13 [PATCH 0/2] tools/xenstore: don't use old tdb file in xenstored Juergen Gross
2017-01-10 16:13 ` [PATCH 1/2] tools/xenstore: start with empty data base Juergen Gross
2017-01-13 10:49   ` Wei Liu [this message]
2017-01-16 10:39   ` George Dunlap
2019-07-15 15:06   ` [Xen-devel] " George Dunlap
2017-01-10 16:13 ` [PATCH 2/2] tools: don't remove tdb data base file before starting xenstored Juergen Gross
2017-01-13 10:50   ` Wei Liu
2017-01-13 12:11 ` [PATCH 0/2] tools/xenstore: don't use old tdb file in xenstored Wei Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170113104915.GC5089@citrix.com \
    --to=wei.liu2@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=jgross@suse.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.