HomeFreeBSD

nfscl: Partially revert commit 867c27c23a5c

Description

nfscl: Partially revert commit 867c27c23a5c

Commit 867c27c23a5c enabled the n_directio_opens code
in open/close, which sets/clears NNONCACHE, for
IO_APPEND. This code should not be enabled unless
newnfs_directio_enable is non-zero.

This patch reverts that part of commit 867c27c23a5c.

A future patch that fixes the case where the
file that is being written IO_APPEND is mmap()'d.

(cherry picked from commit 150da1e3cd51e552f7d6bc159b387e540c5a3733)

Details

Provenance
rmacklemAuthored on Dec 16 2021, 10:30 PM
Parents
rG703bbad7f459: nfscl: Change IO_APPEND writes to direct I/O
Branches
Unknown
Tags
Unknown
Reverts
rG867c27c23a5c: nfscl: Change IO_APPEND writes to direct I/O