Re: [PATCH] cache: Tolerate short writes in print_slot

2021-10-07 Thread Hristo Venev
On Thu, 2021-10-07 at 10:35 +0100, John Keeping wrote: > Have you seen these errors in practice, or is this just theoretical? > > In recent (since v2.6.33) versions of Linux, all files should support > sendfile(), especially since we expect out_fd to be a socket or pipe. Even though I haven't seen

Re: [PATCH 0/2] Support of test results

2021-10-07 Thread John Keeping
On Mon, Oct 04, 2021 at 01:22:34PM +0300, Sergey Bronnikov wrote: > From: Sergey Bronnikov > > Git SCM allows to store information in so called notes [1] and cgit > allows to show notes that placed to default reference > ('refs/notes/commits') and attached to certain commits. It is convenient > t

Re: [PATCH] cache: Tolerate short writes in print_slot

2021-10-07 Thread John Keeping
On Fri, Sep 10, 2021 at 05:18:41PM +0300, Hristo Venev wrote: > sendfile() can return after a short read/write, so we may need to call > it more than once. Furthermore, not all files support sendfile(), so we > may need to fall back to read/write. Have you seen these errors in practice, or is this