diff options
author | shishir gowda <sgowda@redhat.com> | 2013-02-27 17:04:47 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-03-04 02:42:10 -0800 |
commit | 3335a3ded7f46ddcdf2a42edf0c6e78abeb9e898 (patch) | |
tree | 91dbba0df65c20e3d9d033b38c7f3ca30f91e726 /libglusterfs | |
parent | f6a9f19be0e1afe7850842997b88182133d3464e (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
BUG: 916449
Change-Id: I1619344fbb1cb51d5e1db38d8a29821fa870fa8b
Signed-off-by: shishir gowda <sgowda@redhat.com>
Reviewed-on: http://review.gluster.org/4610
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions