]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/RocksDBStore: set up $path.wal -> $path symlink
authorSage Weil <sage@redhat.com>
Mon, 5 Oct 2015 20:00:37 +0000 (16:00 -0400)
committerSage Weil <sage@redhat.com>
Mon, 16 Nov 2015 18:23:15 +0000 (13:23 -0500)
commiteddb00bd4f505d168cdbd53a8574313628fe8b91
tree2fc5bdacea8f8131787861b597fa5e3178f636aa
parent0dac747c79be4da80c2034b44337f5c2b546b3ff
os/RocksDBStore: set up $path.wal -> $path symlink

If $path.wal doesn't exist, create it and symlink it to $path.
Set wal_dir to that.  This makes it easy to move the wal content
elsewhere later, or to pre-create the .wal dir.

Signed-off-by: Sage Weil <sage@redhat.com>
src/kv/RocksDBStore.cc
src/kv/RocksDBStore.h