summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2008-01-31 15:53:53 +0100
committerRusty Russell <rusty@rustcorp.com.au>2008-02-04 23:50:10 +1100
commit4f3bf19c6e8164b441faaee476e734b4f612a78d (patch)
tree27d2c75ef0ce7e02fcf09d08ce20b0fe51e20362 /usr
parent135da0b037984c0284acdf40aaf4f7f31eb5cbd0 (diff)
downloadop-kernel-dev-4f3bf19c6e8164b441faaee476e734b4f612a78d.zip
op-kernel-dev-4f3bf19c6e8164b441faaee476e734b4f612a78d.tar.gz
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 <borntraeger@de.ibm.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud