From 464736aeb95f904bb283838583bc6e4d584d4520 Mon Sep 17 00:00:00 2001 From: Guido Trotter <ultrotter@google.com> Date: Fri, 17 Oct 2008 14:35:17 +0000 Subject: [PATCH] Add LDS_BLOCK for block device backed dev types Reviewed-by: iustinp --- lib/constants.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/constants.py b/lib/constants.py index f20117d13..9ffa3d1f2 100644 --- a/lib/constants.py +++ b/lib/constants.py @@ -175,6 +175,7 @@ DTS_NOT_LVM = frozenset([DT_DISKLESS, DT_FILE]) LD_LV = "lvm" LD_DRBD8 = "drbd8" LD_FILE = "file" +LDS_BLOCK = frozenset([LD_LV, LD_DRBD8]) # drbd constants DRBD_HMAC_ALG = "md5" -- GitLab