]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: fix set cache_target_full_ratio
authorLoic Dachary <loic@dachary.org>
Tue, 27 May 2014 08:06:46 +0000 (10:06 +0200)
committerSage Weil <sage@inktank.com>
Fri, 27 Jun 2014 20:16:37 +0000 (13:16 -0700)
commit3ceafcf3576efaef58dffbe70654baf1db4f3a1d
tree947dba9cc7eb54bc671d903cd4c4de7b79a9eb9c
parent84d7971c8e50e7d35d7a5fac9353e687f168a1a1
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>
(cherry picked from commit c2225f874dcf37222d831b65b5a319d598d2fcd9)
qa/workunits/cephtool/test.sh
src/mon/OSDMonitor.cc