This repository was archived by the owner on Nov 2, 2021. It is now read-only.

Description
like the following snippet:
n = pwrite(fd, slab, size, off);
if (n < size) {
log_error("pwrite fd %d %zu bytes at offset %"PRId64" failed: %s",
fd, size, off, strerror(errno));
return FC_ERROR;
}
when n<size ,pread or pwrite may interrupt by signal ,errno is equal to EINTR,
it should process on writing,not return an error?