1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/sys/fs/nfs
Rick Macklem f49c813c1d Use taskqueue(9) to do writes/commits to mirrored DSs concurrently.
When the NFSv4.1 pNFS client is using a Flexible File Layout specifying
mirrored Data Servers, it must do the writes and commits to all mirrors.
This patch modifies the client to use a taskqueue to perform these writes
and commits concurrently.
The number of threads can't be changed for taskqueue(9), so it is set
to 4 * mp_ncpus by default, but this can be overridden by setting the
sysctl vfs.nfs.pnfsiothreads.

Differential Revision:	https://reviews.freebsd.org/D12632
2017-10-16 23:28:12 +00:00
..
nfs_commonacl.c Cleanup unnecessary semicolons from the kernel. 2016-04-10 23:07:00 +00:00
nfs_commonkrpc.c Fix forced dismount when a pNFS mount is hung on a DS. 2017-10-10 21:05:40 +00:00
nfs_commonport.c Use taskqueue(9) to do writes/commits to mirrored DSs concurrently. 2017-10-16 23:28:12 +00:00
nfs_commonsubs.c Change nfsv4_getipaddr() and nfsrpc_fillsa() to not use sockaddr_storage. 2017-09-28 22:33:01 +00:00
nfs_var.h Add Flex File Layout support to the NFSv4.1 pNFS client. 2017-10-05 20:10:40 +00:00
nfs.h Add a few definitions for Flex File Layout for pNFS. 2017-09-21 00:41:12 +00:00
nfscl.h Add major and minor version arguments to nfscl_reqstart(). 2017-09-26 23:42:44 +00:00
nfsclstate.h Fix forced dismount when a pNFS mount is hung on a DS. 2017-10-10 21:05:40 +00:00
nfsdport.h Make the size of the hash tables used by the NFSv4 server tunable. 2015-05-27 22:00:05 +00:00
nfskpiport.h
nfsm_subs.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nfsport.h Add the NFS client state flag that enables Flexible File Layout. 2017-09-28 23:05:08 +00:00
nfsproto.h Add a few definitions for the Flex File Layout. 2017-10-04 22:55:30 +00:00
nfsrvcache.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nfsrvstate.h NFS: spelling fixes on comments. 2016-04-29 16:07:25 +00:00
nfsv4_errstr.h
rpcv2.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
xdr_subs.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00