diff options
author | Susant Palai <spalai@redhat.com> | 2016-04-18 17:42:06 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2016-05-01 18:05:03 -0700 |
commit | 3ff1861546e619bb3c9dc155c55df5d6ee1a479e (patch) | |
tree | 9499e68566de0fab5b66a5715cce3a702f351bd9 /xlators/cluster/dht/src/dht-common.h | |
parent | 2f4733657b0a8439620b045fcb597838a818487a (diff) |
glusterd: volume set changes for lock migration
Change-Id: I48c6f9cdda47503615ba65882acd5eedf0a70c89
BUG: 1326085
Signed-off-by: Susant Palai <spalai@redhat.com>
Reviewed-on: http://review.gluster.org/14024
Smoke: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.h')
-rw-r--r-- | xlators/cluster/dht/src/dht-common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h index a240a72444d..0ef5c81a608 100644 --- a/xlators/cluster/dht/src/dht-common.h +++ b/xlators/cluster/dht/src/dht-common.h @@ -444,6 +444,9 @@ struct gf_defrag_info_ { /* Hard link handle requirement */ synclock_t link_lock; + + /* lock migration flag */ + gf_boolean_t lock_migration_enabled; }; typedef struct gf_defrag_info_ gf_defrag_info_t; @@ -535,6 +538,10 @@ struct dht_conf { */ uint32_t vol_commit_hash; gf_boolean_t vch_forced; + + /* lock migration */ + + gf_boolean_t lock_migration_enabled; }; typedef struct dht_conf dht_conf_t; |