From: Wayne Gong <wayne.gong@oracle.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: Why I cannot reconnect blk backend
Date: Thu, 20 Nov 2008 13:56:58 +0800 [thread overview]
Message-ID: <4924FC2A.5030903@oracle.com> (raw)
In-Reply-To: <AEC6C66638C05B468B556EA548C1A77D0154FC46@trantor>
> All I can suggest is that your turn on the logging in xenstore and watch
> what happens - looking for differences between what happens then xenvbd
> first starts up and when it resumes.
blkback: ring-ref 335, event-channel 5, protocol 1 (unspecified,
assuming native)
vbd vbd-3-768: 1 mapping ring-ref 335 port 5
blkback: ring-ref 335, event-channel 5, protocol 1 (unspecified,
assuming native)
vbd vbd-3-768: 1 mapping ring-ref 335 port 5
blkback: ring-ref 335, event-channel 5, protocol 1 (unspecified,
assuming native)
vbd vbd-3-768: 1 mapping ring-ref 335 port 5
What's this mean?
I guess when vbd device resume, I use a mapped ring-ref to initialize
device. When vbd device resume, I allocate some new memory and call
SHARED_RING_INIT to init them and then save the ring-ref to xenstore.
After that, xenstore pops a warning as above. How can I release that
ring-ref when suspend vbd device, or how to reallocate a new ring-ref
for vbd device?
Thanks
Wayne
next prev parent reply other threads:[~2008-11-20 5:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-19 9:41 Why I cannot reconnect blk backend Wayne Gong
2008-11-19 9:57 ` James Harper
2008-11-19 14:26 ` Wayne Gong
2008-11-19 14:34 ` Wayne Gong
2008-11-19 22:27 ` James Harper
2008-11-20 5:56 ` Wayne Gong [this message]
2008-11-20 10:25 ` James Harper
2008-11-20 11:27 ` Wayne Gong
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=4924FC2A.5030903@oracle.com \
--to=wayne.gong@oracle.com \
--cc=xen-devel@lists.xensource.com \
/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.