From: Ian Jackson Subject: Re: blkback name greater than 16 characters issue Date: Mon, 4 Jan 2016 16:13:57 +0000 Message-ID: <22154.39493.367316.711433@mariner.uk.xensource.com> References: <20151214164635.GA9191@char.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aG7ln-0008CP-Lj for xen-devel@lists.xenproject.org; Mon, 04 Jan 2016 16:14:07 +0000 In-Reply-To: <20151214164635.GA9191@char.us.oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk 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 List-Id: xen-devel@lists.xenproject.org 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.." > 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 ? > 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. Ian.