]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
nfscl: Partially revert commit 867c27c23a5c
authorRick Macklem <rmacklem@FreeBSD.org>
Thu, 16 Dec 2021 22:30:37 +0000 (14:30 -0800)
committerRick Macklem <rmacklem@FreeBSD.org>
Thu, 16 Dec 2021 22:30:37 +0000 (14:30 -0800)
commit150da1e3cd51e552f7d6bc159b387e540c5a3733
tree147a69c30be5204bf5cada267c1009289c3ec804
parenta62478aa05a10cc7881eebea005bafb1ec3ef406
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.

MFC after: 3 months
sys/fs/nfsclient/nfs_clvnops.c