mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-25 03:54:17 +01:00
e9c9826673
This change adds two new tunables, allowing to control serialization for read and write NFS requests separately. It does not change the default behavior since there are too many factors to consider, but gives additional space for further experiments and tuning. The main motivation for this change is very low write speed in case of ZFS with sync=always or when NFS clients requests sychronous operation, when every separate request has to be written/flushed to ZIL, and requests are processed one at a time. Setting vfs.nfsd.fha.write=0 in that case allows to increase ZIL throughput by several times by coalescing writes and cache flushes. There is a worry that doing it may increase data fragmentation on disks, but I suppose it should not happen for pool with SLOG. MFC after: 1 week Sponsored by: iXsystems, Inc. |
||
---|---|---|
.. | ||
bootp_subr.c | ||
krpc_subr.c | ||
krpc.h | ||
nfs_common.h | ||
nfs_diskless.c | ||
nfs_fha.c | ||
nfs_fha.h | ||
nfs_kdtrace.h | ||
nfs_lock.c | ||
nfs_lock.h | ||
nfs_mountcommon.h | ||
nfs_nfssvc.c | ||
nfsdiskless.h | ||
nfsproto.h | ||
nfssvc.h | ||
xdr_subs.h |