From: Christian Borntraeger Date: Thu, 31 Jan 2008 14:53:53 +0000 (+0100) Subject: virtio_blk: Dont waste major numbers X-Git-Tag: v2.6.25-rc1~1058^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f3bf19c6e8164b441faaee476e734b4f612a78d;p=pandora-kernel.git virtio_blk: Dont waste major numbers 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 disk. That will allow ~64k virtio_blk disks. Signed-off-by: Christian Borntraeger Signed-off-by: Rusty Russell --- Reading git-diff-tree failed