diff options
author | Raghavendra G <rgowdapp@redhat.com> | 2014-09-10 09:05:22 +0530 |
---|---|---|
committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2014-10-20 07:55:36 -0700 |
commit | c527449c0504828378f33ed32d1e7fe2e2c51c6f (patch) | |
tree | f6532c2ec066b04a7c7f5a43003a65c8b83aad13 /xlators/cluster/dht/src/dht-common.h | |
parent | 0ebe35ead483071ac3ff4b5c3802f40b1c719c8e (diff) |
cluster/dht: synchronize rename and file-migration
Change-Id: I4f243c946f76d440680b651235f925e3d0ebf0fd
Signed-off-by: Raghavendra G <rgowdapp@redhat.com>
Reviewed-on: http://review.gluster.org/8523
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
BUG: 1139998
Reviewed-on: http://review.gluster.org/8681
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.h')
-rw-r--r-- | xlators/cluster/dht/src/dht-common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h index a8275816b5e..3049d366403 100644 --- a/xlators/cluster/dht/src/dht-common.h +++ b/xlators/cluster/dht/src/dht-common.h @@ -24,6 +24,7 @@ #define GF_DHT_LOOKUP_UNHASHED_ON 1 #define GF_DHT_LOOKUP_UNHASHED_AUTO 2 #define DHT_PATHINFO_HEADER "DISTRIBUTE:" +#define DHT_FILE_MIGRATE_DOMAIN "dht.file.migrate" #include <fnmatch.h> @@ -203,6 +204,7 @@ struct dht_local { xlator_t *first_up_subvol; gf_boolean_t added_link; + gf_boolean_t is_linkfile; struct dht_skip_linkto_unlink skip_unlink; @@ -828,5 +830,7 @@ dht_unlock_inodelk (call_frame_t *frame, dht_lock_t **lk_array, int lk_count, dht_lock_t * dht_lock_new (xlator_t *this, xlator_t *xl, loc_t *loc, short type, const char *domain); +void +dht_lock_array_free (dht_lock_t **lk_array, int count); #endif/* _DHT_H */ |