diff options
author | David Zafman <dzafman@redhat.com> | 2017-03-30 21:42:54 +0200 |
---|---|---|
committer | David Zafman <dzafman@redhat.com> | 2017-04-17 17:00:24 +0200 |
commit | a5731076add0af10686da482ecc29a1fa2600a14 (patch) | |
tree | fcf768c2881f313654f4626272d7a8350c0b2743 /src/test/pybind | |
parent | osd: For testing full disks add injectfull socket command (diff) | |
download | ceph-a5731076add0af10686da482ecc29a1fa2600a14.tar.xz ceph-a5731076add0af10686da482ecc29a1fa2600a14.zip |
osd: Handle backfillfull_ratio just like nearfull and full
Add BACKFILLFULL as a local OSD cur_state
Notify monitor of this new fullness state
Signed-off-by: David Zafman <dzafman@redhat.com>
Diffstat (limited to 'src/test/pybind')
-rwxr-xr-x | src/test/pybind/test_ceph_argparse.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/pybind/test_ceph_argparse.py b/src/test/pybind/test_ceph_argparse.py index e9694064bd2..0c9cc7524c5 100755 --- a/src/test/pybind/test_ceph_argparse.py +++ b/src/test/pybind/test_ceph_argparse.py @@ -1150,6 +1150,9 @@ class TestOSD(TestArgparse): def test_set_full_ratio(self): self.set_ratio('set-full-ratio') + def test_set_backfillfull_ratio(self): + self.set_ratio('set-backfillfull-ratio') + def test_set_nearfull_ratio(self): self.set_ratio('set-nearfull-ratio') |