public inbox for [email protected]
 help / color / mirror / Atom feed
* __io_file_supports_nowait for regular files
@ 2022-07-21 15:37 Christoph Hellwig
  2022-07-21 15:59 ` Jens Axboe
  0 siblings, 1 reply; 5+ messages in thread
From: Christoph Hellwig @ 2022-07-21 15:37 UTC (permalink / raw)
  To: axboe; +Cc: io-uring

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-07-22 15:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-21 15:37 __io_file_supports_nowait for regular files Christoph Hellwig
2022-07-21 15:59 ` Jens Axboe
2022-07-21 16:23   ` Christoph Hellwig
2022-07-21 18:46     ` Jens Axboe
2022-07-22 15:59       ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox