diff options
author | Jeff Darcy <jdarcy@redhat.com> | 2014-03-25 16:48:37 +0000 |
---|---|---|
committer | Jeff Darcy <jdarcy@redhat.com> | 2014-03-25 16:48:37 +0000 |
commit | 927483b6fbf2a8e731f9e34dd70dc4179accc079 (patch) | |
tree | 4beef24ea3fdeeb402b8b7ff1874e79a09a5bbcc /xlators/cluster/nsr-server/src/recon_notify.c | |
parent | efbb23837761bda6c526baca1b5ea72d227e2ae3 (diff) |
nsr: use different etcd keys for each NSR subvolume
This is necessary both for separate volumes using NSR and for DHT
volumes composed of multiple NSR subvolumes.
Change-Id: Ia269d70b535cc26900f8b6e7f22706087746fbe7
Signed-off-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/cluster/nsr-server/src/recon_notify.c')
-rw-r--r-- | xlators/cluster/nsr-server/src/recon_notify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/nsr-server/src/recon_notify.c b/xlators/cluster/nsr-server/src/recon_notify.c index 7397192ae..24f7cf2de 100644 --- a/xlators/cluster/nsr-server/src/recon_notify.c +++ b/xlators/cluster/nsr-server/src/recon_notify.c @@ -234,7 +234,7 @@ nsr_setup_recon (xlator_t *this) if (priv->nsr_recon_start == _gf_false) return 0; - ctx->fs = glfs_new(priv->vol_uuid); + ctx->fs = glfs_new(priv->subvol_uuid); if (!ctx->fs) { ret = 1; gf_log (this->name, GF_LOG_ERROR, "failed to initialise glfs \n"); |