diff options
author | Sunny Kumar <sunkumar@redhat.com> | 2018-08-22 02:08:40 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2018-08-23 02:24:43 +0000 |
commit | ab27d4288997acc1b6c6bdd55a3387644eea6ecd (patch) | |
tree | 2fd4dfac176c65938d8c01d7cbb5619c8ff79c55 /xlators/playground | |
parent | faf736cb3043ade5b2ad3267c45d2ba0bce53b52 (diff) |
snapshot : fix snapshot status failure due to symlink problem
Problems : 1. Snapshot status for individual snapshots were failing after OS
upgrade from RHEL6 to RHEL7.
2. Post upgrade snapshot creation of cloned volume was failing.
Root Cause : When OS upgrade is from RHEL6 to RHEL7 there is difference in
symlink (/var/run) between these two versions.
Basically when (/var/run) is symlinked to /run, mount command
resolves path and mounts it. But at the same time call to
those functions fails who depends on absolute path.
(like strcmp in glusterd_get_mnt_entry_info)
Solution : Resolve the input path to absolute path before calling these
functions.
Test : Tested on same setup where issue was reported. After this
patch snapshot issues are completely resolved.
Change-Id: I5ba57998cea614c6072709f52f42a57562018844
fixes: bz#1619843
Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
Diffstat (limited to 'xlators/playground')
0 files changed, 0 insertions, 0 deletions