]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
WBThrottle: fix incorrect throttle 6713/head
authorZhang Huan <zhanghuan@ict.ac.cn>
Thu, 19 Nov 2015 03:34:35 +0000 (11:34 +0800)
committerZhang Huan <zhanghuan@ict.ac.cn>
Wed, 25 Nov 2015 09:01:35 +0000 (17:01 +0800)
commit889158af8192d9d8dfaa830f8bca46fcefaf75dc
tree23a1f00808bcb848ab62a1dd546a28725fb53040
parent97affaa21cf94da23dbc1337ba7a0ca2201cef43
WBThrottle: fix incorrect throttle

This bug is introduced in commit 573d2cc, that throttle()
incorrectly use the "start flusher" throttle value to block new
write requests.

On a test environment of 2 storage nodes with 7 HDD each, the
overall write performance measured by iozone is doubled with this
patch (boosted from 160MB/s to 300MB/s).

Signed-off-by: Zhang Huan <zhanghuan@ict.ac.cn>
src/os/WBThrottle.cc
src/os/WBThrottle.h