summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd.h
diff options
context:
space:
mode:
authorRajesh Joseph <rjoseph@redhat.com>2014-06-05 10:00:33 +0530
committerKrishnan Parthasarathi <kparthas@redhat.com>2014-06-12 03:12:27 -0700
commitf1705e2d338704806cbd90ec9d0d66c0b16cc2ef (patch)
tree7032d309be9aa37399c561a52f9912125ada0762 /xlators/mgmt/glusterd/src/glusterd.h
parent604ba9abf377ff56bb671478386d4ab977fdcd57 (diff)
glusterd/snapshot: Update file-system uuid during snap creation
After the brick snapshot file-system UUID of the origin brick and the snapshot brick will be identical. If user is using file-system UUID to mount the backend bricks then this will result in unexpected behaviour. Fix: After taking the LVM snapshot create new UUID for the snapshot brick. Change-Id: I339c90abd72dd392de195b674ea22217e63dfd48 BUG: 1105484 Signed-off-by: Rajesh Joseph <rjoseph@redhat.com> Reviewed-on: http://review.gluster.org/8002 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Atin Mukherjee <amukherj@redhat.com> Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com> Tested-by: Krishnan Parthasarathi <kparthas@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.h')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.h b/xlators/mgmt/glusterd/src/glusterd.h
index 1dd823a588f..3da22f62f77 100644
--- a/xlators/mgmt/glusterd/src/glusterd.h
+++ b/xlators/mgmt/glusterd/src/glusterd.h
@@ -191,6 +191,7 @@ struct glusterd_brickinfo {
char device_path[PATH_MAX];
char mount_dir[PATH_MAX];
char brick_id[1024];/*Client xlator name, AFR changelog name*/
+ char fstype [NAME_MAX]; /* Brick file-system type */
struct list_head brick_list;
uuid_t uuid;
int port;