freebsd-skq/sys/fs
Rick Macklem 18a48314ba Add support for ext_pgs mbufs to nfsrv_adj().
This patch uses a slightly different algorithm for nfsrv_adj()
since ext_pgs mbuf lists are not permitted to have m_len == 0 mbufs.
As such, the code now frees mbufs after the adjustment in the list instead
of setting their m_len field to 0.
Since mbuf(s) may be trimmed off the tail of the list, the function now
returns a pointer to the last mbuf in the list.  This saves the caller
from needing to use m_last() to find the last mbuf.
It also implies that it might return a nul list, which required a check for
that in nfsrvd_readlink().

This is another in the series of commits that add support to the NFS client
and server for building RPC messages in ext_pgs mbufs with anonymous pages.
This is useful so that the entire mbuf list does not need to be
copied before calling sosend() when NFS over TLS is enabled.

Use of ext_pgs mbufs will not be enabled until the kernel RPC is updated
to handle TLS.
2020-07-26 02:42:09 +00:00
..
autofs Silence down a warning which should really be a debug message. 2020-04-21 13:57:51 +00:00
cd9660 Fix export_args ex_flags field so that is 64bits, the same as mnt_flags. 2020-06-14 00:10:18 +00:00
cuse cuse: Stop checking for failures from malloc(M_WAITOK). 2020-07-23 14:03:37 +00:00
deadfs vfs: flatten vop vectors 2019-12-16 00:06:22 +00:00
devfs devfs: fix a vnode use-after-free in devfs_ioctl 2020-07-04 06:27:28 +00:00
ext2fs ext2fs: Stop checking for failures from malloc(M_WAITOK). 2020-07-20 14:28:26 +00:00
fdescfs vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
fifofs Call pipeselwakeup() after toggling PIPE_EOF. 2020-04-27 15:59:07 +00:00
fuse copystr(9): Move to deprecate (attempt #2) 2020-05-25 16:40:48 +00:00
mntfs Add a new "mntfs" pseudo file system which provides private device vnodes for 2020-03-06 18:41:37 +00:00
msdosfs Fix export_args ex_flags field so that is 64bits, the same as mnt_flags. 2020-06-14 00:10:18 +00:00
nfs Add support for ext_pgs mbufs to nfsrv_adj(). 2020-07-26 02:42:09 +00:00
nfsclient Add support for ext_pgs mbufs to nfsm_uiombuflist() and nfsm_split(). 2020-07-24 23:17:09 +00:00
nfsserver Add support for ext_pgs mbufs to nfsrv_adj(). 2020-07-26 02:42:09 +00:00
nullfs nullfs: don't pre lock exclusive in nullfs_root 2020-03-04 19:52:00 +00:00
procfs Retire procfs-based process debugging. 2020-04-01 19:22:09 +00:00
pseudofs Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (10 of many) 2020-02-24 10:37:56 +00:00
smbfs Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
tmpfs tmpfs: add support for lockless lookup 2020-07-25 10:38:44 +00:00
udf vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
unionfs Fix export_args ex_flags field so that is 64bits, the same as mnt_flags. 2020-06-14 00:10:18 +00:00