Michael S. Tsirkin
5087a50e66
virtio-blk: use ida to allocate disk index
...
Based on a patch by Mark Wu <dwu@redhat.com>
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 of hot-plugging disks.
Change virtio-blk to use ida to allocate index, instead.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-11-02 11:41:02 +10:30
..
2011-01-19 08:25:02 -07:00
2011-09-15 15:08:18 +02:00
2011-06-02 05:29:19 +09:00
2011-10-25 12:11:02 +02:00
2011-04-21 21:33:05 +02:00
2011-04-21 21:33:05 +02:00
2011-05-26 21:06:50 +02:00
2011-05-06 08:23:55 -06:00
2011-07-26 16:49:47 -07:00
2011-05-06 08:23:59 -06:00
2011-05-06 08:27:00 -06:00
2011-07-09 09:04:12 +02:00
2011-03-10 08:52:07 +01:00
2005-04-16 15:20:36 -07:00
2008-04-18 22:16:32 -04:00
2011-04-21 21:33:05 +02:00
2007-09-11 17:21:19 -07:00
2011-09-21 10:22:11 +02:00
2011-06-09 15:01:37 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2011-08-09 20:43:26 +02:00
2011-07-31 22:21:35 +02:00
2011-04-18 14:30:26 -04:00
2010-08-23 14:02:44 +02:00
2011-05-28 14:44:46 +02:00
2010-09-10 12:35:36 +02:00
2011-07-20 01:44:21 -04:00
2010-10-22 17:07:18 -07:00
2010-03-30 22:02:32 +09:00
2010-10-20 15:38:13 -07:00
2011-10-28 16:42:18 -07:00
2011-02-02 11:31:21 +01:00
2010-02-26 13:58:08 +01:00
2011-08-03 15:02:55 +02:00
2009-03-26 21:15:27 +01:00
2011-04-21 21:33:05 +02:00
2010-02-26 13:58:08 +01:00
2011-04-21 21:33:05 +02:00
2011-03-10 08:58:35 +01:00
2007-10-10 09:25:59 +02:00
2011-03-31 11:26:23 -03:00
2011-11-02 11:41:02 +10:30
2010-10-05 15:01:10 +02:00
2008-10-21 07:48:11 -04:00
2011-07-14 14:19:51 -04:00
2011-07-14 05:33:52 -06:00
2010-10-28 06:15:26 -06:00