On Tue, 5 May 2015 13:39:39 +0800 Cunming Liang <cunming.liang at intel.com> wrote:
> + bytes_read = read(fd, &buf, bytes_read); > + if (bytes_read < 0) > + RTE_LOG(ERR, EAL, "Error reading from file " > + "descriptor %d: %s\n", fd, > + strerror(errno) The read could be interrupted (EINTR) or there could be a race (EWOULDBLOCK). In those cases the code should not log anything.