Move BDEV_CACHE_DIR to RUN_GANETI_DIR/bdev-cache
authorGuido Trotter <ultrotter@google.com>
Wed, 23 Jul 2008 08:22:06 +0000 (08:22 +0000)
committerGuido Trotter <ultrotter@google.com>
Wed, 23 Jul 2008 08:22:06 +0000 (08:22 +0000)
This was a TODO for 2.0

Reviewed-by: iustinp

lib/constants.py

index ec93d5d..61b9e5b 100644 (file)
@@ -82,7 +82,7 @@ CONFIG_VERSION = BuildVersion(CONFIG_MAJOR, CONFIG_MINOR, CONFIG_REVISION)
 DATA_DIR = _autoconf.LOCALSTATEDIR + "/lib/ganeti"
 RUN_DIR = _autoconf.LOCALSTATEDIR + "/run"
 RUN_GANETI_DIR = RUN_DIR + "/ganeti"
-BDEV_CACHE_DIR = RUN_GANETI_DIR # TODO(2.0): move deeper
+BDEV_CACHE_DIR = RUN_GANETI_DIR + "/bdev-cache"
 DISK_LINKS_DIR = RUN_GANETI_DIR + "/instance-disks"
 # keep RUN_GANETI_DIR first here, to make sure all get created when the node
 # daemon is started (this takes care of RUN_DIR being tmpfs)