From 52b3ac03859e1059bf815a923243441ce91a693f Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Tue, 5 Sep 2017 16:23:46 +0200 Subject: [PATCH] ceph: do not automatically use wal if only journal is given Signed-off-by: Dominik Csapak --- PVE/API2/Ceph.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/PVE/API2/Ceph.pm b/PVE/API2/Ceph.pm index 9fef04878..e9211325a 100644 --- a/PVE/API2/Ceph.pm +++ b/PVE/API2/Ceph.pm @@ -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} &&