]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: fix set cache_target_full_ratio 1873/head
authorLoic Dachary <loic@dachary.org>
Tue, 27 May 2014 08:06:46 +0000 (10:06 +0200)
committerLoic Dachary <loic@dachary.org>
Tue, 27 May 2014 08:24:18 +0000 (10:24 +0200)
commitc2225f874dcf37222d831b65b5a319d598d2fcd9
treeecb0dd165c1141f6ca0116fed41c0cd6e1880d2c
parent6bb0a04864795e5081b2ba9e0984c61122c7183e
mon: fix set cache_target_full_ratio

It was a noop because it was incorrectly using the variable n. Add a
test to protect against regression.

http://tracker.ceph.com/issues/8440 Fixes: #8440

Reported-by: Geoffrey Hartz <hartz.geoffrey@gmail.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
qa/workunits/cephtool/test.sh
src/mon/OSDMonitor.cc