On 1/21/21 5:01 AM, Pavel Begunkov wrote: > Sockets and other non-regular files may actually expect short reads to > happen, don't retry reads for them. Because non-reg files don't set > FMODE_BUF_RASYNC and so it won't do second/retry do_read, we can filter > out those cases after first do_read() attempt with ret>0. Applied, thanks. -- Jens Axboe