freebsd-src/sys/fs
Rick Macklem bb53f071e8 nfscl: Add support for read delegations and atomic upgrade
For NFSv4.1/4.2, an atomic upgrade of a delegation from a
read delegation to a write delegation is allowed and can
result in significantly improved performance.
This patch adds this upgrade to the NFSv4.1/4.2 client and
enables use of read delegations.

For a test case of building a FreeBSD kernel (sources and
output objects) over a NFSv4.2 mount, these changes reduced
the elapsed time by 30% and included a reduction of 80% for
RPC counts when delegations were enabled.  As such, with this
patch there are at least certain cases where enabling
delegations seems to be worth the increased complexity they
bring.

This patch should only affect the NFSv4.1/4.2 behaviour
when delegations are enabled, which is not the default.

MFC after:	1 month
2024-06-12 16:41:12 -07:00
..
autofs Reduce reliance on sys/sysproto.h pollution 2024-04-15 21:35:40 +01:00
cd9660 cd9660: Add support for mask,dirmask,uid,gid options 2024-01-12 14:51:31 -08:00
cuse
deadfs
devfs devfs_allocv(): style 2024-05-12 04:13:00 +03:00
ext2fs Stop treating size 0 as unknown size in vnode_create_vobject(). 2024-05-23 06:08:14 +00:00
fdescfs
fifofs
fuse Stop treating size 0 as unknown size in vnode_create_vobject(). 2024-05-23 06:08:14 +00:00
mntfs
msdosfs fs/msdosfs fatblock: use ulmin() rather than min() 2024-02-23 19:37:52 +02:00
nfs nfsd: Update a file missed by commit e2c9fad2e0 2024-06-04 18:54:15 -07:00
nfsclient nfscl: Add support for read delegations and atomic upgrade 2024-06-12 16:41:12 -07:00
nfsserver nfsd: Delete an unused VNET global variable 2024-06-08 16:40:52 -07:00
nullfs nullfs: Show correct exported flag. 2024-04-13 17:21:01 +02:00
procfs uio: Use switch statements when handling UIO_READ vs UIO_WRITE 2024-05-10 13:43:36 -07:00
pseudofs
smbfs Add vnode_pager_clean_{a,}sync(9) 2024-01-11 18:44:53 +02:00
tarfs tarfs(5): Grammar fix for a source code comment 2024-04-20 11:21:54 +02:00
tmpfs tmpfs_node_init: use MTX_NEW on lock from uninitialized memory 2024-05-26 10:20:52 -07:00
udf udf: uma_zcreate() does not fail 2024-04-24 08:45:59 -04:00
unionfs unionfs_rename: fix numerous locking issues 2024-04-28 20:19:48 -05:00