Skip to content
Glusterd2 is the distributed management framework to be used for GlusterFS
Branch: master
Clone or download
poornimag and aravindavk blockvolume: Code re-org to fix race condition and cleanup bhv
The block host volume will still exist even when the blocks are all
deleted. Manually deleting block host volume will need another step
of unmounting. With this patch we auto-delete the block host volume
if there are no blocks.

The availablility check of bhv free space is not done within lock, hence
there is a possiblity that the available space has changed by the
time we decide to create the volume. This patch also fixes the race

Signed-off-by: Poornima G <>
Latest commit 54ce5f6 Mar 9, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github adding a template file to create an issue Aug 16, 2018
doc Tracing: Generate new with new tracing endpoints. Feb 12, 2019
e2e Support for loopback bricks Feb 14, 2019
extras Downgrade lvm2, disable lvmetad and dmevent Mar 21, 2019
glustercli BlockVolume: Input block host volume properties in block create request Feb 21, 2019
glusterd2 blockvolume: Code re-org to fix race condition and cleanup bhv Mar 29, 2019
pkg added method for acquiring txn Lock with retry mechanism Mar 21, 2019
plugins blockvolume: Code re-org to fix race condition and cleanup bhv Mar 29, 2019
scripts build: Use random build id Dec 11, 2018
test Fix issue while doing `gofmt` tests Sep 24, 2018
version Update versions Sep 18, 2018
.gitattributes Update generated REST API doc Feb 16, 2018
.gitignore add IDE specific files to .gitignore Sep 17, 2018
COPYING-GPLV2 Add LGPLV3 license as COPYING-LGPLV3 Sep 19, 2016
COPYING-LGPLV3 Add LGPLV3 license as COPYING-LGPLV3 Sep 19, 2016
Gopkg.lock Add loopback block provider Jan 16, 2019
Gopkg.toml Add loopback block provider Jan 16, 2019
Makefile populate vendor/ from Gopkg.lock without updating it first Sep 3, 2018 doc: Add index to documentation Aug 6, 2018
Vagrantfile Use new GOPATH in image Oct 17, 2016
glusterd2.toml.example use cluster-options for host volume configuration Jan 24, 2019 test: start adding new test infrastructure Apr 24, 2018


Go Report Card Build Status

GlusterD-2.0 (GD2) is a re-implementation of GlusterD. It attempts to have better consistency, scalability and performance when compared with the current GlusterD, while also becoming more modular and easing extensibility.


Architecture and Design

Please refer to the wiki for more information.


To build GD2, just run make. If you don't have the required tools installed, run scripts/


We use the Github pull-request model for accepting contributions. If you are not familiar with the pull request model please read "Using pull requests". For specific information on GlusterD-2.0, refer the Development Guide.

Copyright and License

Copyright (c) 2015 Red Hat, Inc.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License, version 3 or any later version (LGPLv3 or later), or the GNU General Public License, version 2 (GPLv2), in all cases as published by the Free Software Foundation.

You can’t perform that action at this time.