| Commit message (Collapse) | Author | Age | Files | Lines | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
* 'transports/' and 'auth/' moved to xlators/protocol/
* transport.{c,h}, authenticate.{c,h}, protocol.h moved to
    xlators/protocol/lib/src/
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
Memory accounting Changes. Thanks to Vinayak Hegde and Csaba Henk for their
contributions.
Signed-off-by: Vijay Bellur <vijay@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 329 (Replacing memory allocation functions with mem-type functions)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=329
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
This is seen in OOM situations.
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 679 (Crash in socket_ioq_new)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=679
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
specified in configuration.
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 561 (with address family set to 'inet-sdp', transport/socket doesn't work correctly)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=561
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
is inet-sdp.
- sa_family should be set to AF_INET_SDP only during call to socket system
    call. For all other calls, sa_family should be AF_INET.
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 561 (with address family set to 'inet-sdp', transport/socket doesn't work correctly)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=561
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
Signed-off-by: Vijay Bellur <vijay@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 524 (TCP_NODELAY not set when expected on client)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=524
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
not specified.
- when listen-host is not specified and there are are no interfaces having
    adresses belonging to the address-family specified, listen at 0.0.0.0/::0.
  - this patch is necessary since with AI_ADDRCONFIG, getaddrinfo fails if there
    are no active interfaces for the address family specified and when
    listen-host is specified we still want the functionality provided with
    usage of AI_ADDRCONFIG.
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 339 (glusterfsd fails to start when there are no active interfaces having address in the address family configured.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=339
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
TCP_NODELAY is enabled by default for lowlat client and server sockets.
Signed-off-by: Vijay Bellur <vijay@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 344 (Add support for TCP NODELAY in master)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=344
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
Signed-off-by: Vijay Bellur <vijay@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 344 (Add support for TCP NODELAY in master)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=344
 | 
| | 
| 
| 
|  | 
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
privileged port fails.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 140 (use appropriate loglevel to log in case of failure to bind to privileged socket)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=140
 | 
| | 
| 
| 
|  | 
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
 | 
| | 
| 
| 
| 
| 
| 
|  | 
..and hope for a chance to improve performance on
high speed links like 10GigE.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
 | 
| | 
| 
| 
| 
| 
|  | 
but since introduction of IObuf it is no more. Now iobuf has to be unref'ed instead.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
 | 
| | 
| 
| 
|  | 
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
 | 
| | 
| 
| 
|  | 
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
 | 
| |  | 
 | 
| | 
| 
| 
|  | 
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
 | 
| |  | 
 | 
| | 
| 
| 
|  | 
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
 | 
| | 
| 
| 
| 
| 
| 
|  | 
fix broken transport-type "unix"
however unix transport not working with defined transport.socket.bind-path
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
transport_connect() -- causes spurious CHILD_DOWN events to be sent up when reconnect() thread misinterprets the failure of transport_connect() to be an actual teardown of the transport
the spurious CHILD_DOWN events cause self-heal in replicate to not heal files in that subvolume, writev to not modify that subvolume etc, accounting for a lot of discrepencies in replicate which are being in the mailing lists recently.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
- used to validate options like remote-host, bind-address.
  - Also validate options of translators created during fetch of volume
    specification file from remote server.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
 | 
| | 
| 
| 
| 
| 
|  | 
updated copyright header to include 2009.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
 | 
|    | 
 |