gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] Unix/socket


From: Anand Avati
Subject: Re: [Gluster-devel] Unix/socket
Date: Tue, 2 Sep 2008 14:06:34 +0530

Thanks for the patch. committed.

avati

2008/9/1 Tomáš Siegl <address@hidden>

> Hello
>
> today I would like to test gluster using local unix socket (client and
> server on the same machine) and I had to modify
> source codes because there are option check on
> glusterfs--mainline-3.0--Patch-350 which is needed in
> transport/socket/src/name.c
>
> Here is my patch, there is no doc/translator-option.txt patch here,
>
> May be you will find other solution probably change it in file
> transport/socket/src/name.c
> function af_unix_server_get_local_sockaddr and
> af_unix_server_get_local_sockaddr.
>
> regards
> Tomas Siegl
>
> --- orig/xlators/protocol/client/src/client-protocol.c
> +++ mod/xlators/protocol/client/src/client-protocol.c
> @@ -4775,6 +4775,9 @@
>        { "remote-host", GF_OPTION_TYPE_STR, 1, 0, 0 },
>        { "non-blocking-io", GF_OPTION_TYPE_STR, 1, 0, 0 },
>
> +       /* Socket */
> +       { "connect-path", GF_OPTION_TYPE_STR, 1, 0, 0 },
> +
>        /* Client protocol itself */
>        { "limits.transaction-size", GF_OPTION_TYPE_SIZET, 1, 128 *
> GF_UNIT_KB, 8 * GF_UNIT_MB },
>        { "remote-subvolume", GF_OPTION_TYPE_STR, 1, 0, 0 },
>
>
> --- orig/xlators/protocol/server/src/server-protocol.c
> +++ mod/xlators/protocol/server/src/server-protocol.c
> @@ -6429,6 +6429,9 @@
>        { "address-family", GF_OPTION_TYPE_STR, 1, 0, 0 },
>        { "bind-address", GF_OPTION_TYPE_STR, 1, 0, 0 },
>
> +       /* Socket */
> +       { "listen-path", GF_OPTION_TYPE_STR, 1, 0, 0 },
> +
>        /* Server protocol itself */
>        { "limits.transaction-size", GF_OPTION_TYPE_SIZET, 1, 128 *
> GF_UNIT_KB, 8 * GF_UNIT_MB },
>        { "client-volume-filename", GF_OPTION_TYPE_STR, 1, 0, 0 },
>
>
> _______________________________________________
> Gluster-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>



-- 
If I traveled to the end of the rainbow
As Dame Fortune did intend,
Murphy would be there to tell me
The pot's at the other end.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]