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 condition. Signed-off-by: Poornima G <pgurusid@redhat.com>
GlusterD-2.0
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.
Documentation
Architecture and Design
Please refer to the wiki for more information.
Building
To build GD2, just run make. If you don't have the required tools installed, run scripts/install-reqs.sh.
Contributing
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. http://www.redhat.com
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.