diff options
author | Kotresh HR <khiremat@redhat.com> | 2018-06-07 04:11:25 -0400 |
---|---|---|
committer | Kotresh HR <khiremat@redhat.com> | 2018-06-22 11:37:25 +0000 |
commit | 8a7e70a221778cd54c8bda9d6c2a522511d36ed1 (patch) | |
tree | 3545d4930bbec15d808d2d9f9a9b9598325e0bda /extras/hook-scripts/S56glusterd-geo-rep-create-post.sh | |
parent | 4b7707382bc763f089e14334c2b7f3139e186c1f (diff) |
geo-rep: Fix geo-rep for older versions of unshare
Geo-rep mounts are private to worker. It uses
mount namespace using unshare command to achieve
the same. Well, the unshare command has to support
'--propagation' option. So geo-rep breaks on the
systems with older unshare version. The patch
makes it fall back to lazy umount behaviour if
the unshare does not support propagation option.
fixes: bz#1589782
Change-Id: Ia614f068aede288d63ac62fea4461b1865066054
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'extras/hook-scripts/S56glusterd-geo-rep-create-post.sh')
0 files changed, 0 insertions, 0 deletions