From 08056421b886b1ebf1e0eed93d9f6f9b6d017489 Mon Sep 17 00:00:00 2001 From: Samikshan Bairagya Date: Fri, 23 Sep 2016 16:35:15 +0530 Subject: glusterd, cli: Get global options through volume get functionality Currently it is not possible to retrieve values of global options by using the 'gluster volume get' functionality if there are no volumes present. In order to get the global options one has to use 'gluster volume get' with a specific volume name. This usage makes the illusion as though the option is set only on one volume, which is incorrect. When setting the global options, 'gluster volume set' provides a way to set them using the volume name as 'all'. Similarly, retrieving the global options should be made possible by using the volume name 'all' with the 'gluster volume get' functionality. This patch adds that functionality to 'volume get' Usage: # gluster volume get all