[core] handle ENOSPC with pwritev()
handle ENOSPC with pwritev() and fallback to next item in
server.upload-dirs list
x-ref:
"File upload regression with --disable-lfs"
@@ -1011,6 +1011,8 @@ static ssize_t chunkqueue_append_cqmem_to_tempfile(chunkqueue * const restrict d
chunkqueue_mark_written(dest, dlen);
}
}
+ else if (chunkqueue_append_tempfile_err(dest, errh, c))
+ wr = 0; /*(to trigger continue/retry in caller rather than error)*/
return wr;
}
