Thread (2 messages) 2 messages, 2 authors, 2021-01-21

Re: [PATCH v2] io_uring: fix short read retries for non-reg files

From: Jens Axboe <axboe@kernel.dk>
Date: 2021-01-21 12:44:40
Also in: io-uring

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help