[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] blkback name greater than 16 characters issue



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 ?

> 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.

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.