Timothy Asir has posted comments on this change. Change subject: gluster: detect bricks which are created manually ......................................................................
Patch Set 2: (2 comments) https://gerrit.ovirt.org/#/c/39748/2/vdsm/gluster/storagedev.py File vdsm/gluster/storagedev.py: Line 54: MIN_METADATA_PERCENT = 0.005 Line 55: DEFAULT_FS_TYPE = "xfs" Line 56: DEFAULT_MOUNT_OPTIONS = "inode64,noatime" Line 57: SYS_BRICK_LIST_FILE = "/var/lib/sys_bricklist.conf" Line 58: USR_BRICK_LIST_FILE = "/var/lib/bricklist.conf" > good to be in /var/lib/vdsm/gluster/? Done Line 59: Line 60: Line 61: def _getDeviceDict(device, createBrick=False): Line 62: info = {'name': device.name, Line 94: for device in devices: Line 95: deviceInfo = _getDeviceDict(device, _canCreateBrick(device)) Line 96: deviceInfo['brick'] = deviceInfo['mountPoint'] and \ Line 97: deviceInfo['mountPoint'] in brickMountList Line 98: deviceList.append(deviceInfo) > Needs to close out whether mount-point or device is as brick It is device only. Line 99: return deviceList Line 100: Line 101: Line 102: def _canCreateBrick(device): -- To view, visit https://gerrit.ovirt.org/39748 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I9c1fcafddc42b7bddde51693a15076335d21c9c8 Gerrit-PatchSet: 2 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Timothy Asir <[email protected]> Gerrit-Reviewer: Bala.FA <[email protected]> Gerrit-Reviewer: Dan Kenigsberg <[email protected]> Gerrit-Reviewer: Darshan N <[email protected]> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Ramesh N <[email protected]> Gerrit-Reviewer: Sahina Bose <[email protected]> Gerrit-Reviewer: Sandro Bonazzola <[email protected]> Gerrit-Reviewer: Timothy Asir <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-HasComments: Yes _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
