]> git-server-git.apps.pok.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>
Fri, 4 Mar 2022 16:18:45 +0000 (16:18 +0000)
commit1b882054ba386d026a27fcd4f3b9f38e75a531cb
tree888a3b8ec65746b4c27ff84a40833d1a8827e115
parente5a5b81cf05e25b1e4f35ad498c7a5a1c29a7e45
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>
src/mon/OSDMonitor.cc