From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ren Mingxin Subject: Re: [PATCH 4/4] virtio_blk: use disk_name_format() to support mass of disks naming Date: Sat, 31 Mar 2012 09:14:26 +0800 Message-ID: <4F765A72.6090006@cn.fujitsu.com> References: <4F7581D4.4040301@cn.fujitsu.com> <4F7582B0.5010609@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Jens Axboe , "Michael S. Tsirkin" , Rusty Russell , Tejun Heo , LKML , SCSI , KVM , VIRTUAL To: Asias He Return-path: In-Reply-To: Sender: linux-scsi-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Hi, He: On 03/30/2012 07:22 PM, Asias He wrote: > On Fri, Mar 30, 2012 at 5:53 PM, Ren Mingxin 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