ceph: do not automatically use wal if only journal is given

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2017-09-05 16:23:46 +02:00 committed by Fabian Grünbichler
parent 079da9dbff
commit 52b3ac0385

View File

@ -243,8 +243,6 @@ __PACKAGE__->register_method ({
if ($param->{journal_dev} && ($param->{journal_dev} ne $param->{dev})) {
$journal_dev = PVE::Diskmanage::verify_blockdev_path($param->{journal_dev});
# if only journal is given, also put the wal there
$wal_dev = $journal_dev;
}
if ($param->{wal_dev} &&