]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Throttle: Turn off throttle based on max bytes
authorSomnath Roy <somnath.roy@sandisk.com>
Wed, 22 Jan 2014 18:49:50 +0000 (10:49 -0800)
committerGreg Farnum <greg@inktank.com>
Fri, 31 Jan 2014 23:54:40 +0000 (15:54 -0800)
commit98ae0592ed04183b870d8b1a67db5b982400fa68
treec2e551142da23768974d888a485509ae1d0b8ac7
parent03f7f771d6086a59ad37164471f3cda3ad564993
Throttle: Turn off throttle based on max bytes

If max throttle bytes is 0, throttle should not be doing anything.
This check is introduced in the beginning of each throttle function

Signed-off-by: Somnath Roy <somnath.roy@sandisk.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
src/common/Throttle.cc