Re: [PATCH 4/4] virtio_blk: use disk_name_format() to support mass ofdisks naming

From: Asias He
Date: Fri Mar 30 2012 - 23:04:27 EST


On Sat, Mar 31, 2012 at 9:14 AM, Ren Mingxin <renmx@xxxxxxxxxxxxxx> wrote:
> ÂHi, He:
>
>
> On 03/30/2012 07:22 PM, Asias He wrote:
>>
>> On Fri, Mar 30, 2012 at 5:53 PM, Ren Mingxin<renmx@xxxxxxxxxxxxxx> Âwrote:
>>>
>>> ÂThe current virtblk's naming algorithm only supports 263 Âdisks.
>>> If there are mass of virtblks(exceeding 263), there will be disks
>>> with the same name.
>>
>> This fix is pretty nice. However, current virtblk's naming still
>> supports up to 18278 disks, no?
>> ( index 0 Â-> Âvda, index 18277 -> Âvdzzz ).
>
>
> Sorry, I intended to type 26^3+ (26^2+26)...
> It may still be a restriction which should be improved though.

OK.

--
Asias He
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/