Ramesh N has uploaded a new change for review.

Change subject: gluster: add mount point in the brick creation.
......................................................................

gluster: add mount point in the brick creation.

  Mount point is not returned as part of the createBrick VDSM verb.
So add the mount point which is given as a parameter to the create
brick.

Change-Id: I709b8a1e6e7b0732631ba4c4700a26def8433731
Signed-off-by: Ramesh Nachimuthu <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/CreateBrickCommand.java
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/94/40194/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/CreateBrickCommand.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/CreateBrickCommand.java
index 13633d7..ffb2a80 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/CreateBrickCommand.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/CreateBrickCommand.java
@@ -108,6 +108,7 @@
         setSucceeded(returnValue.getSucceeded());
         if (getSucceeded()) {
             StorageDevice storageDevice = (StorageDevice) 
returnValue.getReturnValue();
+            storageDevice.setMountPoint(getParameters().getMountPoint());
             saveStoageDevice(storageDevice);
             // Reset the isFree flag on all the devices which are used for 
brick creation
             resetIsFreeFlag(getParameters().getDisks());


-- 
To view, visit https://gerrit.ovirt.org/40194
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I709b8a1e6e7b0732631ba4c4700a26def8433731
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5-gluster
Gerrit-Owner: Ramesh N <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to