]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor.cc: cannot set target_size_ratio to negative
authorKamoltat <ksirivad@redhat.com>
Fri, 4 Mar 2022 16:18:45 +0000 (16:18 +0000)
committerKamoltat <ksirivad@redhat.com>
Tue, 15 Mar 2022 17:59:32 +0000 (17:59 +0000)
commit7c0b83275088cd980f1e0419f4cd6aabca621319
tree7a6ed48b6614a356093665a8285b78f34211ba57
parent1804614564aa337cd41b23bcd7fde4f346bde123
mon/OSDMonitor.cc: cannot set target_size_ratio to negative

Throw an error when user set `target_size_ratio`
to negative using the command:

`osd pool set <pool> target_size_ratio <float>`

Signed-off-by: Kamoltat <ksirivad@redhat.com>
(cherry picked from commit 1b882054ba386d026a27fcd4f3b9f38e75a531cb)
src/mon/OSDMonitor.cc