From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: wei.liu2@citrix.com, ian.campbell@citrix.com,
julien.grall@citrix.com, jbeulich@suse.com,
xen-devel@lists.xenproject.org, roger.pau@citrix.com
Subject: Re: blkback name greater than 16 characters issue
Date: Mon, 4 Jan 2016 14:51:14 -0500 [thread overview]
Message-ID: <20160104195114.GG6309@char.us.oracle.com> (raw)
In-Reply-To: <22154.39493.367316.711433@mariner.uk.xensource.com>
On Mon, Jan 04, 2016 at 04:13:57PM +0000, Ian Jackson wrote:
> Konrad Rzeszutek Wilk writes ("blkback name greater than 16 characters issue"):
> > Way back in the past Jan pointed out this issue
> > http://lists.xenproject.org/archives/html/xen-devel/2015-05/msg03505.html
> >
> > which is that the device name is "blkback.<domid>.<name>"
> > for exmaple: blkback.8.xvda, blkback.11.hda
>
> I don't understand in what sense this is the `device name'.
>
> AFAICT from your references we are talking about what appears in `ps'
> on BSD. Is that right ? The lack of uniqueness is a problem for
> admins and for debugging but not for functionality ?
Correct. Just for troubleshooting or such. You can look at 'top'
or 'ps' and see which of the blkback threads is eating CPU cycles or such.
>
> > My desire is to easily correlate the name of the thread with the
> > guest config. And that means preserving the 'xvda' or 'hda' or whatever
> > the user had in mind.
> >
> > I believe the domain id is important as well - so we need that.
> >
> > Which means we are left with the prefix. Should it be 'blkbk' or
> > should it be completely eliminated? Meaning we have:
>
> Surely this string should have something in it which makes it clear
> that it's a Xen vbd backend.
>
> I suggest for xvds
>
> 1234567890123456
> DOMID.xvdXYNN
>
> and for the others
>
> 1234567890123456
> DOMID.xvd-hdXYNN
>
> It's a shame that DOMID comes first but I can't think of a sane syntax
> that puts `x', DOMID, type, and XYNN in that order.
OK, let me prep a patch for this shortly.
Thank you!
>
> Ian.
prev parent reply other threads:[~2016-01-04 19:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-14 16:46 blkback name greater than 16 characters issue Konrad Rzeszutek Wilk
2016-01-04 11:51 ` Wei Liu
2016-01-04 16:13 ` Ian Jackson
2016-01-04 19:51 ` Konrad Rzeszutek Wilk [this message]
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=20160104195114.GG6309@char.us.oracle.com \
--to=konrad.wilk@oracle.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=ian.campbell@citrix.com \
--cc=jbeulich@suse.com \
--cc=julien.grall@citrix.com \
--cc=roger.pau@citrix.com \
--cc=wei.liu2@citrix.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.