Re: __io_file_supports_nowait for regular files

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

 



On 7/21/22 9:37 AM, Christoph Hellwig wrote:
> Hi Jens,
> 
> is there any good reason __io_file_supports_nowait checks the
> blk_queue_nowait flag for regular files?  The FMODE_NOWAIT is set
> for regular files that support nowait I/O, and should be all that
> is needed.  Even with a block device that does not nonblocking
> I/O some thing like reading from the page cache can be done
> non-blocking.

Nope, we can probably kill that check then. Want to send a patch?

-- 
Jens Axboe




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux