On 9/20/17 5:36 PM, William Allen Simpson wrote:
On 9/20/17 2:04 PM, Marc Eshel wrote:
recv errno 0

Belay that.  Different message.  recv returned -1, then errno was 0.

I don't know what errno 0 means.

        rlen = recv(xprt->xp_fd, uv->v.vio_tail, xd->sx_fbtbc, MSG_DONTWAIT);

        if (unlikely(rlen < 0)) {
                code = errno;

                if (code == EAGAIN || code == EWOULDBLOCK) {
                        __warnx(TIRPC_DEBUG_FLAG_SVC_VC,
                                "%s: %p fd %d recv errno %d (try again)",
                                __func__, xprt, xprt->xp_fd, code);
                        return SVC_STAT(xprt);
                }
                __warnx(TIRPC_DEBUG_FLAG_ERROR,
                        "%s: %p fd %d recv errno %d (will set dead)",
                        __func__, xprt, xprt->xp_fd, code);
                SVC_DESTROY(xprt);
                return SVC_STAT(xprt);
        }

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to