freebsd-dev/sys/fs
Rick Macklem ad6dc36520 nfscl: Use vfs.nfs.maxalloclen to limit Deallocate RPC RTT
Unlike Copy, the NFSv4.2 Allocate and Deallocate operations do not
allow a reply with partial completion.  As such, the only way to
limit the time the operation takes to provide a reasonable RPC RTT
is to limit the size of the allocation/deallocation in the NFSv4.2
client.

This patch uses the sysctl vfs.nfs.maxalloclen to set
the limit on the size of the Deallocate operation.
There is no way to know how long a server will take to do an
deallocate operation, but 64Mbytes results in a reasonable
RPC RTT for the slow hardware I test on.

For an 8Gbyte deallocation, the elapsed time for doing it in 64Mbyte
chunks was the same (within margin of variability) as the
elapsed time taken for a single large deallocation
operation for a FreeBSD server with a UFS file system.
2021-09-18 14:38:43 -07:00
..
autofs Ensure that dirent's d_off field is initialized 2021-01-03 11:50:31 -05:00
cd9660 buffer pager: allow get_blksize method to return error 2021-09-17 20:29:55 +03:00
cuse Fix for loading cuse.ko via rc.d . Make sure we declare the cuse(3) 2020-10-23 08:44:53 +00:00
deadfs vn_open(): If the vnode is reclaimed during open(2), do not return error. 2021-02-12 03:02:20 +02:00
devfs devfs: Avoid comparison with an uninitialized var in devfs_fp_check() 2021-05-03 13:24:30 -04:00
ext2fs ext2fs(5): Correct a typo in an error message 2021-08-22 07:58:22 +02:00
fdescfs fdescfs: add an option to return underlying file vnode on lookup 2021-06-04 03:30:12 +03:00
fifofs fifofs: fifo vnode might be relocked before VOP_OPEN() is called 2021-07-27 19:58:47 +03:00
fuse buffer pager: allow get_blksize method to return error 2021-09-17 20:29:55 +03:00
mntfs Add a new "mntfs" pseudo file system which provides private device vnodes for 2020-03-06 18:41:37 +00:00
msdosfs buffer pager: allow get_blksize method to return error 2021-09-17 20:29:55 +03:00
nfs nfscl: Make vfs.nfs.maxcopyrange larger by default 2021-09-11 15:36:32 -07:00
nfsclient nfscl: Use vfs.nfs.maxalloclen to limit Deallocate RPC RTT 2021-09-18 14:38:43 -07:00
nfsserver Allow setting NFS server scope and owner. 2021-09-14 14:18:03 -04:00
nullfs nullfs: provide custom null_rename bypass 2021-07-27 19:58:48 +03:00
procfs Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
pseudofs pseudofs: use vget_prep + vget_finish instead of vget + the interlock 2021-05-19 17:58:42 +00:00
smbfs VFS_QUOTACTL(9): allow implementation to indicate busy state changes 2021-05-30 14:53:47 -07:00
tmpfs tmpfs: Implement VOP_DEALLOCATE 2021-08-26 05:34:54 +08:00
udf Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
unionfs unionfs: style 2021-09-01 07:55:37 -07:00