diff options
author | shishir gowda <sgowda@redhat.com> | 2013-02-27 17:04:47 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-02-28 10:32:06 -0800 |
commit | da3f6576e4604a5bd7bff817886d561d856960e8 (patch) | |
tree | 25669b9b6e2fb093809b38593c54a25530486ad6 /ufo | |
parent | 8575228708c3655b45b90a36a32333536f04bd85 (diff) |
cluster/distribute: Prevent spurious multiple defrag crawls
In dht_notify, we used to create a thread to start defrag
crawls after we had heard from all child subvols.
This was in-correct, as a later event, could also trigger the
crawl again(due to the fact that all subvols had responded).
The fix is to make sure, the thread is started only once after
all subvols have responded the first time
Change-Id: Ifc2978b9dc866af2395b79911eca50ab38ff9457
BUG: 916449
Signed-off-by: shishir gowda <sgowda@redhat.com>
Reviewed-on: http://review.gluster.org/4587
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'ufo')
0 files changed, 0 insertions, 0 deletions