summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2008-02-01 09:05:00 +0100
committerRusty Russell <rusty@rustcorp.com.au>2008-02-04 23:50:11 +1100
commitd50ed907dc3db5bf2dd0a05b4e199a65793a3788 (patch)
treed80e39b2cb033930854a672e55d5d031c4c7540a /drivers/virtio
parent4f3bf19c6e8164b441faaee476e734b4f612a78d (diff)
downloadop-kernel-dev-d50ed907dc3db5bf2dd0a05b4e199a65793a3788.zip
op-kernel-dev-d50ed907dc3db5bf2dd0a05b4e199a65793a3788.tar.gz
virtio_blk: implement naming for vda-vdz,vdaa-vdzz,vdaaa-vdzzz
Am Freitag, 1. Februar 2008 schrieb Christian Borntraeger: > Right. I will fix that with an additional patch. This patch goes on top of the minor number patch. Please let me know if you want a merged patch: Currently virtio_blk creates the disk name combinging "vd" with 'a'++. This will give strange names after vdz. I have implemented names up to vdzzz - inspired by the sd.c code. That should be sufficient for now. There is one driver in the kernel (driver/s390/block/dasd_genhd.c) that implements names from dasda-dasdzzzz allowing even more disks. Maybe a janitor can come up with a common implementation usable for all kind of block device drivers. I have tested this patch with 100 disks - seems to work. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud