nfs: expose FMODE_NOWAIT for read-only files

NFS O_DIRECT reads already (mostly) handle async requests, with the
exception of locking the inode for direct.
Handle async requests properly by using nfs_start_io_direct_nowait,
and then expose FMODE_NOWAIT since it's now supported for direct reads.

Signed-off-by: Dylan Yudaken <dyudaken@gmail.com>
Signed-off-by: Anna Schumaker <anna.schumaker@hammerspace.com>
This commit is contained in:
Dylan Yudaken 2026-06-07 08:31:55 +01:00 • committed by Anna Schumaker
commit ef74e44538
2 changed files with 25 additions and 3 deletions