]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor : Fix pool set taget_size_bytes 31740/head
authorPrashant D <pdhange@redhat.com>
Thu, 3 Oct 2019 01:21:55 +0000 (21:21 -0400)
committerNathan Cutler <ncutler@suse.com>
Tue, 19 Nov 2019 15:54:07 +0000 (16:54 +0100)
commit77040ae242cf8792e29ac75444ce8c62b00342b9
tree708efe9ea844fd5b8e58cdfa1a4b340411ac3422
parent41339c094bbb8178ca59388d567cc2529ecfcb3f
mon/OSDMonitor : Fix pool set taget_size_bytes

When setting target_size_bytes for pool, prepare command fail
to parse values appended with valid units like M, G, T etc.

Fixes : https://tracker.ceph.com/issues/42108

Signed-off-by: Prashant D <pdhange@redhat.com>
(cherry picked from commit f504e2d1e7fe3ee3797fa0f5402be1a1763087ef)

Conflicts:
    src/mon/OSDMonitor.cc
- osdmap.require_osd_release < CEPH_RELEASE_NAUTILUS
src/mon/OSDMonitor.cc