diff options
author | vmallika <vmallika@redhat.com> | 2016-01-20 15:51:41 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2016-01-22 03:27:14 -0800 |
commit | 90366748a44c853dbba02d6d2a8192643b711017 (patch) | |
tree | 41dcb55dedfdeb67e072a7e1ec056c5e9e963b23 /cli/src/cli.h | |
parent | 424825a649ea0cd9bd4955fbfe9d5ba472e6bc38 (diff) |
quota: start aux mount from glusterd with inet address
This is a backport of http://review.gluster.org/#/c/13255
With below patches, quota aux mount now
uses unix domain socket to connect to
glusterd
http://review.gluster.org/#/c/12645/
http://review.gluster.org/#/c/12819/
When USS is enabled, snapd protocol client tries to
connect to glusterd with inet and fails,
because remote-host option by client process
is set to UDS file
This patch starts the aux client process from glusterd
with inet address
> Change-Id: I6967043bfd8824658ea39bfd2842591fcc3280fd
> BUG: 1299497
> Signed-off-by: vmallika <vmallika@redhat.com>
Change-Id: Ica512aaf5c2b25f86506bd1e0d7810a8ff1f7632
BUG: 1300243
Signed-off-by: vmallika <vmallika@redhat.com>
Reviewed-on: http://review.gluster.org/13267
Smoke: Gluster Build System <jenkins@build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'cli/src/cli.h')
-rw-r--r-- | cli/src/cli.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cli/src/cli.h b/cli/src/cli.h index 17fe1223af0..c508f1c430e 100644 --- a/cli/src/cli.h +++ b/cli/src/cli.h @@ -71,11 +71,6 @@ typedef enum { snprintf (abspath, sizeof (abspath)-1, \ DEFAULT_VAR_RUN_DIRECTORY"/%s%s", volname, path); -#define GLUSTERFS_GET_AUX_MOUNT_PIDFILE(pidfile,volname) { \ - snprintf (pidfile, PATH_MAX-1, \ - DEFAULT_VAR_RUN_DIRECTORY"/%s.pid", volname); \ - } - struct cli_state; struct cli_cmd_word; struct cli_cmd_tree; |