Re: [PATCH 4/4] virtio_blk: use disk_name_format() to support massof disks naming

From: Ren Mingxin
Date: Fri Mar 30 2012 - 21:14:49 EST


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.

Thanks,
Ren
--
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/