Re: [kvm-devel] [PATCH] virtio_blk: Dont waste major numbers

2008-03-20 Thread H. Peter Anvin
Christian Borntraeger wrote: Rusty, currently virtio_blk uses one major number per device. While this works quite well on most systems it is wasteful and will exhaust major numbers on larger installations. This patch allocates a major number on init and will use 16 minor numbers for each

Re: [kvm-devel] [PATCH] virtio_blk: Dont waste major numbers

2008-03-20 Thread H. Peter Anvin
Anthony Liguori wrote: Christian Borntraeger wrote: Rusty, currently virtio_blk uses one major number per device. While this works quite well on most systems it is wasteful and will exhaust major numbers on larger installations. This patch allocates a major number on init and will use 16

Re: [kvm-devel] [PATCH] virtio_blk: Dont waste major numbers

2008-01-31 Thread Anthony Liguori
Christian Borntraeger wrote: Rusty, currently virtio_blk uses one major number per device. While this works quite well on most systems it is wasteful and will exhaust major numbers on larger installations. This patch allocates a major number on init and will use 16 minor numbers for each

Re: [kvm-devel] [PATCH] virtio_blk: Dont waste major numbers

2008-01-31 Thread Christian Borntraeger
Am Donnerstag, 31. Januar 2008 schrieb Anthony Liguori: There's are some other limitations to the number of virtio block devices. For instances... sprintf(vblk-disk-disk_name, vd%c, virtblk_index++); This gets bogus after 64 disks. Right. I will fix that with an additional patch.