diff options
author | N Balachandran <nbalacha@redhat.com> | 2015-11-09 15:49:50 +0530 |
---|---|---|
committer | Dan Lambright <dlambrig@redhat.com> | 2015-11-18 07:16:12 -0800 |
commit | a1e4be4d277c8150657f7b9fd4b72dcdd639523d (patch) | |
tree | 068b9e1924b2138cbc37175b219e94ded90ae4be /cli/src/cli-cmd-volume.c | |
parent | cb76371a56eb90a6f2ac126c876d7a2dc203e16c (diff) |
cluster/tier: Do not delete linkto file on demotion
The current DHT migration code will always delete the
src linkto file after migration as dht always moves
files to the hashed subvol. This is not the case in tiering.
The lack of linkto files causes rename to fail leaving 2 files
with the same name but different gfids on the volume.
Modified to leave the linkto file behind if the source
volume is the hashed subvolume.
Change-Id: I2b99f7d34b4b719aee6232dc40c6a8f8ba88225d
BUG: 1279376
Signed-off-by: N Balachandran <nbalacha@redhat.com>
Reviewed-on: http://review.gluster.org/12551
Reviewed-by: Dan Lambright <dlambrig@redhat.com>
Tested-by: Dan Lambright <dlambrig@redhat.com>
Diffstat (limited to 'cli/src/cli-cmd-volume.c')
0 files changed, 0 insertions, 0 deletions