diff options
author | Dan Lambright <dlambrig@redhat.com> | 2015-10-05 19:52:02 +0000 |
---|---|---|
committer | Dan Lambright <dlambrig@redhat.com> | 2015-10-21 15:44:35 -0700 |
commit | 36974c36fa4231df3f0e9428a9da6d1aa33348ab (patch) | |
tree | cbd0c604e4f4fdcd39dbeef2f2713b3d494957f6 /tests/basic/tier/locked_file_migration.t | |
parent | 802b24d4d9da09dfb1479eb54bd4a74f678bc97e (diff) | |
download | glusterfs-36974c36fa4231df3f0e9428a9da6d1aa33348ab.tar.gz glusterfs-36974c36fa4231df3f0e9428a9da6d1aa33348ab.tar.xz glusterfs-36974c36fa4231df3f0e9428a9da6d1aa33348ab.zip |
cluster/tier: add pause tier for snapshots
Snaps of tiered volumes cannot handle files undergoing migration.
We implement a helper mechanism to "pause" migration. Any files
undergoing migration are aborted. Clean up is done to remove
sticky bits and data at the destination. Migration is restarted
after snap completes.
For testing an internal switch is added. It is not exposed externally.
gluster volume set vol1 tier-pause [true|false]
Change-Id: Ia85bbf89ac142e9b7e73fcbef98bb9da86097799
BUG: 1267950
Signed-off-by: Dan Lambright <dlambrig@redhat.com>
Reviewed-on: http://review.gluster.org/12304
Reviewed-by: N Balachandran <nbalacha@redhat.com>
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'tests/basic/tier/locked_file_migration.t')
0 files changed, 0 insertions, 0 deletions