diff options
author | Venky Shankar <vshankar@redhat.com> | 2015-05-04 11:58:23 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2015-05-10 05:29:45 -0700 |
commit | 1075351f0289a7a9774e8fb221a082aaeaf848f3 (patch) | |
tree | 2ba3511fc87639b2b7a562d564afe3c632e06254 /libglusterfs/src/store.h | |
parent | 32865f8650057123a5fcf590c96a1ae3f6d22608 (diff) |
features/bitrot: Scrubber pause/resume
With logical scan/scrub split, pausing filesystem scrubber is an
override to the thread throttling mechanism, which effectively
throttles "down" number of scrubber threads to zero. This causes
scanner to wait until threads are spawned again (when resumed)
thereby continuing where it left off (since the file tree walk
stack is effectively preserved when the main scanner thread
is waiting for scrubbers to consume scanned entries).
The only catch is when scrubber daemon restarts: file tree walk
stack is lost and scrubbing initiates from root. This is probably
OK for now (can be changed later to persist parent directory
information before entering pause state).
> Change-Id: I5109a749b7fccd0f5367765078f46e6522dd32a1
> BUG: 1208131
> Signed-off-by: Venky Shankar <vshankar@redhat.com>
> Reviewed-on: http://review.gluster.org/10521
> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
> Tested-by: Vijay Bellur <vbellur@redhat.com>
Change-Id: I9b60f2ce24ca3787423a45ec7d502f89215fe45f
Signed-off-by: Venky Shankar <vshankar@redhat.com>
BUG: 1220041
Reviewed-on: http://review.gluster.org/10721
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Gaurav Kumar Garg <ggarg@redhat.com>
Diffstat (limited to 'libglusterfs/src/store.h')
0 files changed, 0 insertions, 0 deletions