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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux