From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: julien.grall@citrix.com, bob.liu@oracle.com,
roger.pau@citrix.com, jbeulich@suse.com, ian.campbell@citrix.com,
ian.jackson@citrix.com, xen-devel@lists.xenproject.org,
wei.liu2@citrix.com
Subject: blkback name greater than 16 characters issue
Date: Mon, 14 Dec 2015 11:46:35 -0500 [thread overview]
Message-ID: <20151214164635.GA9191@char.us.oracle.com> (raw)
Hey,
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
With the multiqueue block backend we add "-%d" for the queue.
But sadly this is already way past the limit so it gets stripped.
Possible solution had been identified by Ian:
http://lists.xenproject.org/archives/html/xen-devel/2015-05/msg03516.html
"
If you are pressed for space then the "xvd" is probably a bit redundant
in a string which starts blkbk.
The guest may not even call the device xvdN (iirc BSD has another
prefix) any how, so having blkback say so seems of limited use anyway.
Since this seems to not include a partition number how does this work in
the split partition scheme? (i.e. one where the guest is given xvda1 and
xvda2 rather than xvda with a partition table)
[It will be 'blkback.8.xvda1', and 'blkback.11.xvda2']
Perhaps something derived from one of the schemes in
http://xenbits.xen.org/docs/unstable/misc/vbd-interface.txt might be a
better fit?
"
[Inline is my answer]
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:
8.xvda
11.hda
and
9.xvda-1
9.xvda-2
32100.xvdfg9-5
Or perhaps use 'blk."
blk.32100.xvdfg9-5
(exactly 17, so '5' is gone).
Perhaps in those occassions drop 'blk.' altogether? But I wouldn't want
a special case, so back to:
32100.xvdfg9-5
? Thoughts?
Or
next reply other threads:[~2015-12-14 16:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-14 16:46 Konrad Rzeszutek Wilk [this message]
2016-01-04 11:51 ` blkback name greater than 16 characters issue Wei Liu
2016-01-04 16:13 ` Ian Jackson
2016-01-04 19:51 ` Konrad Rzeszutek Wilk
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=20151214164635.GA9191@char.us.oracle.com \
--to=konrad.wilk@oracle.com \
--cc=bob.liu@oracle.com \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@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.