diff options
author | Venky Shankar <vshankar@redhat.com> | 2015-04-24 21:43:25 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-04-26 04:51:28 -0700 |
commit | 7be43338ff292eb9ff43892e05eb83575e66433c (patch) | |
tree | 712259030e7e3baca62487116644f90931b26a36 /contrib/timer-wheel | |
parent | 652f5e8bd429ea0e2433e40ccee63ef1cd45baea (diff) | |
download | glusterfs-7be43338ff292eb9ff43892e05eb83575e66433c.tar.gz glusterfs-7be43338ff292eb9ff43892e05eb83575e66433c.tar.xz glusterfs-7be43338ff292eb9ff43892e05eb83575e66433c.zip |
bitrot/scrub: fix induced throttling in syncop_ftw_throttle()
Failing to reset scanning counter causes "incorrect" delay of around
50 seconds per directory entry. This causes scrubber to run extremely
slowly.
[
NOTE: This is a temporary fix. With the introduction of token
bucket based throttling, inducing throttle via sleep()
call would be unneeded.
]
Also, fix logging messages in scrubber to log brick and full path
of the object which is identified/marked as corrupted.
Change-Id: Id501bd15dcdbd8a09613f80f9d84050304740027
BUG: 1170075
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Reviewed-on: http://review.gluster.org/10375
Tested-by: NetBSD Build System
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-by: Gaurav Kumar Garg <ggarg@redhat.com>
Diffstat (limited to 'contrib/timer-wheel')
0 files changed, 0 insertions, 0 deletions