Re: [PATCH v2] xen-blkback: enlarge the array size of blkback name

2015-03-27 Thread Konrad Rzeszutek Wilk
On Fri, Mar 27, 2015 at 09:52:49AM +0100, Roger Pau Monné wrote: > El 27/03/15 a les 14.15, Tao Chen ha escrit: > > The blkback name is like blkback.domid.xvd[a-z], if domid has four digits > > (means larger than 1000), then the backmost xvd wouldn't be fully shown. > > > > Define a

Re: [PATCH v2] xen-blkback: enlarge the array size of blkback name

2015-03-27 Thread Roger Pau Monné
El 27/03/15 a les 14.15, Tao Chen ha escrit: > The blkback name is like blkback.domid.xvd[a-z], if domid has four digits > (means larger than 1000), then the backmost xvd wouldn't be fully shown. > > Define a BLKBACK_NAME_LEN macro to be 20, enlarge the array size of > blkback name, so it will be

Re: [PATCH v2] xen-blkback: enlarge the array size of blkback name

2015-03-27 Thread Roger Pau Monné
El 27/03/15 a les 14.15, Tao Chen ha escrit: The blkback name is like blkback.domid.xvd[a-z], if domid has four digits (means larger than 1000), then the backmost xvd wouldn't be fully shown. Define a BLKBACK_NAME_LEN macro to be 20, enlarge the array size of blkback name, so it will be

Re: [PATCH v2] xen-blkback: enlarge the array size of blkback name

2015-03-27 Thread Konrad Rzeszutek Wilk
On Fri, Mar 27, 2015 at 09:52:49AM +0100, Roger Pau Monné wrote: El 27/03/15 a les 14.15, Tao Chen ha escrit: The blkback name is like blkback.domid.xvd[a-z], if domid has four digits (means larger than 1000), then the backmost xvd wouldn't be fully shown. Define a BLKBACK_NAME_LEN macro

[PATCH v2] xen-blkback: enlarge the array size of blkback name

2015-03-26 Thread Tao Chen
The blkback name is like blkback.domid.xvd[a-z], if domid has four digits (means larger than 1000), then the backmost xvd wouldn't be fully shown. Define a BLKBACK_NAME_LEN macro to be 20, enlarge the array size of blkback name, so it will be fully shown in any case. Signed-off-by: Tao Chen ---

[PATCH v2] xen-blkback: enlarge the array size of blkback name

2015-03-26 Thread Tao Chen
The blkback name is like blkback.domid.xvd[a-z], if domid has four digits (means larger than 1000), then the backmost xvd wouldn't be fully shown. Define a BLKBACK_NAME_LEN macro to be 20, enlarge the array size of blkback name, so it will be fully shown in any case. Signed-off-by: Tao Chen