Git Product home page Git Product logo

rdcp's People

Contributors

roidayan avatar slavashw avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rdcp's Issues

Small files (962 bytes) get transferred as 0 byte files

If I transfer a 962 byte file, the file is created on the server, but it is 0 size:

ls -l foo 
-rwxr-xr-x 1 razeh btt 962 Apr  1 15:39 foo*
ls -l foo
-rw------- 1 razeh btt 0 Apr  1 15:40 foo

The log on the server is:

verbose
created cm_id 0x8e6330
rdma_bind_addr successful
rdma_listen
cma_event type RDMA_CM_EVENT_CONNECT_REQUEST cma_id 0x2aaab4000a30 (remote)
child cma 0x2aaab4000a30
created pd 0x8e5e90
created channel 0x8e5eb0
created cq 0x8e8860
created qp 0x8e93a0
rdcp_setup_buffers called on cb 0x8d9290
allocated & registered buffers...
accepting client connection request
cq_thread started.
wait for cq event
cma_event type RDMA_CM_EVENT_ESTABLISHED cma_id 0x2aaab4000a30 (remote)
ESTABLISHED
handle cq event
poll
recv completion
Got metadata, replying
open fd 7
wait for cq event
handle cq event
poll
send completion
wait for cq event
cma_event type RDMA_CM_EVENT_DISCONNECTED cma_id 0x2aaab4000a30 (remote)
server DISCONNECT EVENT...
handle cq event
poll
post disconnect

No error code returned on the client when copying non-existent files

If you copy a file that doesn't exist, the following sequence happens:
cm_thread starts
the client connects to the server
rdcp_run_client runs, fails, disconnects and sleeps(1)
cm_thread exits with a return status of 0

From a scripting point of view it makes it a bit more difficult to tell if things went wrong.

standard output

can you add standard input, standard output with named pipe source/destination

Extra ; around line rdcp.c:611

There is an extra semicolon around line 611 in rdcp.c:
`static void rdcp_free_buffers(struct rdcp_cb *cb)
{
int i;

    VERBOSE_LOG(3, "rdcp_free_buffers called on cb %p\n", cb);
    if (cb->start_buf);   //  THIS SEMICOLON DOESN'T MATCH THE INDENTATION
            free(cb->start_buf);
    if (cb->rdma_mr)

`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.