]> xenbits.xensource.com Git - people/dstodden/blktap.git/commitdiff
PR-1053: Add remus block driver.
authorDaniel Stodden <daniel.stodden@citrix.com>
Tue, 15 Feb 2011 09:37:45 +0000 (01:37 -0800)
committerDaniel Stodden <daniel.stodden@citrix.com>
Tue, 15 Feb 2011 09:37:45 +0000 (01:37 -0800)
Mainly needed to fill a disktype hole, but could use some updates too.

Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
drivers/tapdisk-disktype.c

index ff30a433a9aece06765c36005237c1e5b1fba63a..4044e5dfbef3e0c427a08b9994e4f85ff714e449 100644 (file)
@@ -93,6 +93,12 @@ static const disk_info_t log_disk = {
        DISK_TYPE_FILTER,
 };
 
+static disk_info_t remus_disk = {
+       "remus disk replicator (remus)",
+       "remus",
+       0,
+};
+
 static const disk_info_t local_cache_disk = {
        "lc",
        "local cache image (lc)",
@@ -116,6 +122,7 @@ const disk_info_t *tapdisk_disk_types[] = {
        [DISK_TYPE_BLOCK_CACHE] = &block_cache_disk,
        [DISK_TYPE_VINDEX]      = &vhd_index_disk,
        [DISK_TYPE_LOG] = &log_disk,
+       [DISK_TYPE_REMUS]       = &remus_disk,
        [DISK_TYPE_LOCAL_CACHE] = &local_cache_disk,
        [DISK_TYPE_VALVE]       = &valve_disk,
        0,