Re: [PATCHv4] virtio-blk: use ida to allocate disk index

2011-10-31 Thread Rusty Russell
On Mon, 31 Oct 2011 08:05:55 +0100, Jens Axboe wrote: > On 2011-10-30 20:29, Michael S. Tsirkin wrote: > > Based on a patch by Mark Wu > > > > Current index allocation in virtio-blk is based on a monotonically > > increasing variable "index". This means we'll run out of numbers > > after a while

Re: [PATCHv4] virtio-blk: use ida to allocate disk index

2011-10-31 Thread Jens Axboe
On 2011-10-30 20:29, Michael S. Tsirkin wrote: > Based on a patch by Mark Wu > > Current index allocation in virtio-blk is based on a monotonically > increasing variable "index". This means we'll run out of numbers > after a while. It also could cause confusion about the disk > name in the case