diff options
author | Raghavendra G <rgowdapp@redhat.com> | 2014-08-21 21:35:52 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-08-28 03:29:59 -0700 |
commit | 21c8946b0bc05d0bc8f84906e16b8c2cbca4c9f9 (patch) | |
tree | 188ec8d7ff92c9b7188354d359c13c653afc75ab /xlators/cluster/dht/src/dht-common.h | |
parent | b23be2e7581c6aa295053dc8866cab841ae374b6 (diff) |
cluster/dht: synchronize rename and file-migration
Change-Id: I4f243c946f76d440680b651235f925e3d0ebf0fd
BUG: 1130888
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>
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 c310b6c543b..62fef87a51c 100644 --- a/xlators/cluster/dht/src/dht-common.h +++ b/xlators/cluster/dht/src/dht-common.h @@ -28,6 +28,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> @@ -220,6 +221,7 @@ struct dht_local { gf_boolean_t quota_deem_statfs; gf_boolean_t added_link; + gf_boolean_t is_linkfile; struct dht_skip_linkto_unlink skip_unlink; @@ -889,5 +891,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 */ |