<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/source/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Makefile</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>e9ac41698b2f322d55ccf9da50a3596edb2c1800 - Remove residual blank line at start of Makefile</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/nfsd/Makefile#e9ac41698b2f322d55ccf9da50a3596edb2c1800</link>
        <description>Remove residual blank line at start of MakefileThis is a residual of the $FreeBSD$ removal.MFC After: 3 days (though I&apos;ll just run the command on the branches)Sponsored by: Netflix

            List of files:
            /freebsd/sys/modules/nfsd/Makefile</description>
        <pubDate>Mon, 15 Jul 2024 06:46:32 +0200</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>031beb4e239bfce798af17f5fe8dba8bcaf13d99 - sys: Remove $FreeBSD$: one-line sh pattern</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/nfsd/Makefile#031beb4e239bfce798af17f5fe8dba8bcaf13d99</link>
        <description>sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/

            List of files:
            /freebsd/sys/modules/nfsd/Makefile</description>
        <pubDate>Wed, 16 Aug 2023 19:54:58 +0200</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>ba774e929631e5587665889b20ba461473e58528 - Fix the standalone build of the nfscl and nfsd modules.</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/nfsd/Makefile#ba774e929631e5587665889b20ba461473e58528</link>
        <description>Fix the standalone build of the nfscl and nfsd modules.Reported by:	jhs@berklix.com

            List of files:
            /freebsd/sys/modules/nfsd/Makefile</description>
        <pubDate>Wed, 02 Sep 2020 03:29:33 +0200</pubDate>
        <dc:creator>Rick Macklem &lt;rmacklem@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>9897e357de7df51e6cf9f140c4e8ffd6daae23a9 - Re-organize the NFS file handle affinity code for the NFS server.</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/nfsd/Makefile#9897e357de7df51e6cf9f140c4e8ffd6daae23a9</link>
        <description>Re-organize the NFS file handle affinity code for the NFS server.The file handle affinity code was configured to be used by both theold and new NFS servers. This no longer makes sense, since there isonly one NFS server.This patch copies a majority of the code in sys/nfs/nfs_fha.c andsys/nfs/nfs_fha.h into sys/fs/nfsserver/nfs_fha_new.c andsys/fs/nfsserver/nfs_fha_new.h, so that the files in sys/nfs can bedeleted. The code is simplified by deleting the function callback pointersused to call functions in either the old or new NFS server and they werereplaced by calls to the functions.As well as a cleanup, this re-organization simplifies the changesrequired for handling of external page mbufs, which is required for KERN_TLS.This patch should not result in a semantic change to file handle affinity.

            List of files:
            /freebsd/sys/modules/nfsd/Makefile</description>
        <pubDate>Tue, 14 Apr 2020 02:01:26 +0200</pubDate>
        <dc:creator>Rick Macklem &lt;rmacklem@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>7648bc9fee8dec6cb3c4941e0165a930fbe8dcb0 - MFHead @347527</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/nfsd/Makefile#7648bc9fee8dec6cb3c4941e0165a930fbe8dcb0</link>
        <description>MFHead @347527Sponsored by:	The FreeBSD Foundation

            List of files:
            /freebsd/sys/modules/nfsd/Makefile</description>
        <pubDate>Mon, 13 May 2019 20:25:55 +0200</pubDate>
        <dc:creator>Alan Somers &lt;asomers@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>ed2f1001706ce61b2c939d8d1eaed2a5ef6cb108 - Add support for INET6 addresses to the kernel code that dumps open/lock state.</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/nfsd/Makefile#ed2f1001706ce61b2c939d8d1eaed2a5ef6cb108</link>
        <description>Add support for INET6 addresses to the kernel code that dumps open/lock state.PR#223036 reported that INET6 callback addresses were not printed bynfsdumpstate(8). This kernel patch adds INET6 addresses to the dump structure,so that nfsdumpstate(8) can print them out, post-r346190.The patch also includes the addition of #ifdef INET, INET6 as requestedby bz@.PR:		223036Reviewed by:	bz, rgrimesMFC after:	2 weeksDifferential Revision:	https://reviews.freebsd.org/D19839

            List of files:
            /freebsd/sys/modules/nfsd/Makefile</description>
        <pubDate>Sun, 14 Apr 2019 00:00:09 +0200</pubDate>
        <dc:creator>Rick Macklem &lt;rmacklem@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>193d9e768ba63fcfb187cfd17f461f7d41345048 - sys/modules: normalize .CURDIR-relative paths to SRCTOP</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/nfsd/Makefile#193d9e768ba63fcfb187cfd17f461f7d41345048</link>
        <description>sys/modules: normalize .CURDIR-relative paths to SRCTOPThis simplifies make output/logicTested with:	`cd sys/modules; make ALL_MODULES=` on amd64MFC after:	1 monthSponsored by:	Dell EMC Isilon

            List of files:
            /freebsd/sys/modules/nfsd/Makefile</description>
        <pubDate>Sat, 04 Mar 2017 11:10:17 +0100</pubDate>
        <dc:creator>Enji Cooper &lt;ngie@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>d1d015864103b253b3fcb2f72a0da5b0cfeb31b6 - Merge from head</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/nfsd/Makefile#d1d015864103b253b3fcb2f72a0da5b0cfeb31b6</link>
        <description>Merge from head

            List of files:
            /freebsd/sys/modules/nfsd/Makefile</description>
        <pubDate>Thu, 05 Sep 2013 22:18:59 +0200</pubDate>
        <dc:creator>Simon J. Gerraty &lt;sjg@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>40f65a4df509c6b29b9e72407c7afefe28838844 - IFC @ r254014</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/nfsd/Makefile#40f65a4df509c6b29b9e72407c7afefe28838844</link>
        <description>IFC @ r254014

            List of files:
            /freebsd/sys/modules/nfsd/Makefile</description>
        <pubDate>Wed, 07 Aug 2013 02:09:49 +0200</pubDate>
        <dc:creator>Peter Grehan &lt;grehan@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>552311f4bb98c81b1b9e0e81d74e0262fc12110b - IFC @253398</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/nfsd/Makefile#552311f4bb98c81b1b9e0e81d74e0262fc12110b</link>
        <description>IFC @253398

            List of files:
            /freebsd/sys/modules/nfsd/Makefile</description>
        <pubDate>Wed, 17 Jul 2013 03:32:29 +0200</pubDate>
        <dc:creator>Xin LI &lt;delphij@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>cfe30d02adda7c3b5c76156ac52d50d8cab325d9 - Merge fresh head.</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/nfsd/Makefile#cfe30d02adda7c3b5c76156ac52d50d8cab325d9</link>
        <description>Merge fresh head.

            List of files:
            /freebsd/sys/modules/nfsd/Makefile</description>
        <pubDate>Wed, 19 Jun 2013 13:36:13 +0200</pubDate>
        <dc:creator>Gleb Smirnoff &lt;glebius@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>adb974068bd08e91c3cdcce431f545c0c37bdc05 - Move the NFS FHA (File Handle Affinity) code from sys/nfsserver to</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/nfsd/Makefile#adb974068bd08e91c3cdcce431f545c0c37bdc05</link>
        <description>Move the NFS FHA (File Handle Affinity) code from sys/nfsserver tosys/nfs, since it is now shared by the two NFS servers.Suggested by:	rmacklemSponsored by:	Spectra LogicMFC after:	2 weeks

            List of files:
            /freebsd/sys/modules/nfsd/Makefile</description>
        <pubDate>Thu, 18 Apr 2013 00:42:43 +0200</pubDate>
        <dc:creator>Kenneth D. Merry &lt;ken@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>d96b98a360cf04d0c9fe927d8411e83eb133cacd - Revamp the old NFS server&apos;s File Handle Affinity (FHA) code so that</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/nfsd/Makefile#d96b98a360cf04d0c9fe927d8411e83eb133cacd</link>
        <description>Revamp the old NFS server&apos;s File Handle Affinity (FHA) code so thatit will work with either the old or new server.The FHA code keeps a cache of currently active file handles forNFSv2 and v3 requests, so that read and write requests for the samefile are directed to the same group of threads (reads) or thread(writes).  It does not currently work for NFSv4 requests.  They aremore complex, and will take more work to support.This improves read-ahead performance, especially with ZFS, if theFHA tuning parameters are configured appropriately.  Without theFHA code, concurrent reads that are part of a sequential read froma file will be directed to separate NFS threads.  This has theeffect of confusing the ZFS zfetch (prefetch) code and makessequential reads significantly slower with clients like Linux thatdo a lot of prefetching.The FHA code has also been updated to direct write requests to nearbyfile offsets to the same thread in the same way it batches reads,and the FHA code will now also send writes to multiple threads whenneeded.This improves sequential write performance in ZFS, because writesto a file are now more ordered.  Since NFS writes (generallyless than 64K) are smaller than the typical ZFS record size(usually 128K), out of order NFS writes to the same block cantrigger a read in ZFS.  Sending them down the same thread increasesthe odds of their being in order.In order for multiple write threads per file in the FHA code to beuseful, writes in the NFS server have been changed to use a LK_SHAREDvnode lock, and upgrade that to LK_EXCLUSIVE if the filesystemdoesn&apos;t allow multiple writers to a file at once.  ZFS is currentlythe only filesystem that allows multiple writers to a file, becauseit has internal file range locking.  This change does not affect theNFSv4 code.This improves random write performance to a single file in ZFS, sincewe can now have multiple writers inside ZFS at one time.I have changed the default tuning parameters to a 22 bit (4MB)window size (from 256K) and unlimited commands per thread as aresult of my benchmarking with ZFS.The FHA code has been updated to allow configuring the tuningparameters from loader tunable variables in addition to sysctlvariables.  The read offset window calculation has been slightlymodified as well.  Instead of having separate bins, each filehandle has a rolling window of bin_shift size.  This minimizesglitches in throughput when shifting from one bin to another.sys/conf/files:	Add nfs_fha_new.c and nfs_fha_old.c.  Compile nfs_fha.c	when either the old or the new NFS server is built.sys/fs/nfs/nfsport.h,sys/fs/nfs/nfs_commonport.c:	Bring in changes from Rick Macklem to newnfs_realign that	allow it to operate in blocking (M_WAITOK) or non-blocking	(M_NOWAIT) mode.sys/fs/nfs/nfs_commonsubs.c,sys/fs/nfs/nfs_var.h:	Bring in a change from Rick Macklem to allow telling	nfsm_dissect() whether or not to wait for mallocs.sys/fs/nfs/nfsm_subs.h:	Bring in changes from Rick Macklem to create a new	nfsm_dissect_nonblock() inline function and	NFSM_DISSECT_NONBLOCK() macro.sys/fs/nfs/nfs_commonkrpc.c,sys/fs/nfsclient/nfs_clkrpc.c:	Add the malloc wait flag to a newnfs_realign() call.sys/fs/nfsserver/nfs_nfsdkrpc.c:	Setup the new NFS server&apos;s RPC thread pool so that it will	call the FHA code.	Add the malloc flag argument to newnfs_realign().	Unstaticize newnfs_nfsv3_procid[] so that we can use it in	the FHA code.sys/fs/nfsserver/nfs_nfsdsocket.c:	In nfsrvd_dorpc(), add NFSPROC_WRITE to the list of RPC types	that use the LK_SHARED lock type.sys/fs/nfsserver/nfs_nfsdport.c:	In nfsd_fhtovp(), if we&apos;re starting a write, check to see	whether the underlying filesystem supports shared writes.	If not, upgrade the lock type from LK_SHARED to LK_EXCLUSIVE.sys/nfsserver/nfs_fha.c:	Remove all code that is specific to the NFS server	implementation.  Anything that is server-specific is now	accessed through a callback supplied by that server&apos;s FHA	shim in the new softc.	There are now separate sysctls and tunables for the FHA	implementations for the old and new NFS servers.  The new	NFS server has its tunables under vfs.nfsd.fha, the old	NFS server&apos;s tunables are under vfs.nfsrv.fha as before.	In fha_extract_info(), use callouts for all server-specific	code.  Getting file handles and offsets is now done in the	individual server&apos;s shim module.	In fha_hash_entry_choose_thread(), change the way we decide	whether two reads are in proximity to each other.	Previously, the calculation was a simple shift operation to	see whether the offsets were in the same power of 2 bucket.	The issue was that there would be a bucket (and therefore	thread) transition, even if the reads were in close	proximity.  When there is a thread transition, reads wind	up going somewhat out of order, and ZFS gets confused.	The new calculation simply tries to see whether the offsets	are within 1 &lt;&lt; bin_shift of each other.  If they are, the	reads will be sent to the same thread.	The effect of this change is that for sequential reads, if	the client doesn&apos;t exceed the max_reqs_per_nfsd parameter	and the bin_shift is set to a reasonable value (22, or	4MB works well in my tests), the reads in any sequential	stream will largely be confined to a single thread.	Change fha_assign() so that it takes a softc argument.  It	is now called from the individual server&apos;s shim code, which	will pass in the softc.	Change fhe_stats_sysctl() so that it takes a softc	parameter.  It is now called from the individual server&apos;s	shim code.  Add the current offset to the list of things	printed out about each active thread.	Change the num_reads and num_writes counters in the	fha_hash_entry structure to 32-bit values, and rename them	num_rw and num_exclusive, respectively, to reflect their	changed usage.	Add an enable sysctl and tunable that allows the user to	disable the FHA code (when vfs.XXX.fha.enable = 0).  This	is useful for before/after performance comparisons.nfs_fha.h:	Move most structure definitions out of nfs_fha.c and into	the header file, so that the individual server shims can	see them.	Change the default bin_shift to 22 (4MB) instead of 18	(256K).  Allow unlimited commands per thread.sys/nfsserver/nfs_fha_old.c,sys/nfsserver/nfs_fha_old.h,sys/fs/nfsserver/nfs_fha_new.c,sys/fs/nfsserver/nfs_fha_new.h:	Add shims for the old and new NFS servers to interface with	the FHA code, and callbacks for the	The shims contain all of the code and definitions that are	specific to the NFS servers.	They setup the server-specific callbacks and set the server	name for the sysctl and loader tunable variables.sys/nfsserver/nfs_srvkrpc.c:	Configure the RPC code to call fhaold_assign() instead of	fha_assign().sys/modules/nfsd/Makefile:	Add nfs_fha.c and nfs_fha_new.c.sys/modules/nfsserver/Makefile:	Add nfs_fha_old.c.Reviewed by:	rmacklemSponsored by:	Spectra LogicMFC after:	2 weeks

            List of files:
            /freebsd/sys/modules/nfsd/Makefile</description>
        <pubDate>Wed, 17 Apr 2013 23:00:22 +0200</pubDate>
        <dc:creator>Kenneth D. Merry &lt;ken@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>10b3b54548f2290bbe8d8f88c59c28d12b7a635d - Merge from head</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/nfsd/Makefile#10b3b54548f2290bbe8d8f88c59c28d12b7a635d</link>
        <description>Merge from head

            List of files:
            /freebsd/sys/modules/nfsd/Makefile</description>
        <pubDate>Thu, 17 Sep 2009 18:16:44 +0200</pubDate>
        <dc:creator>Dag-Erling Sm&#248;rgrav &lt;des@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>7e857dd14fe7f42f5b46af4904f84915215d8987 - - Merge from HEAD</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/nfsd/Makefile#7e857dd14fe7f42f5b46af4904f84915215d8987</link>
        <description>- Merge from HEAD

            List of files:
            /freebsd/sys/modules/nfsd/Makefile</description>
        <pubDate>Fri, 12 Jun 2009 13:50:44 +0200</pubDate>
        <dc:creator>Oleksandr Tymoshenko &lt;gonzo@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>bcbdacdd37acf433e633d31082b460f58d85a032 - Add the kernel build glue for the experimental NFS subsystem that</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/nfsd/Makefile#bcbdacdd37acf433e633d31082b460f58d85a032</link>
        <description>Add the kernel build glue for the experimental NFS subsystem thatincludes support for NFSv4. The subsystem can optionally be linkedinto the kernel using the two options:  NFSCL - the client  NFSD - the serverIt is also built as three modules:  nfscl - the client  nfsd - the server  nfscommon - functions shared by the client and serverApproved by:	kib (mentor)

            List of files:
            /freebsd/sys/modules/nfsd/Makefile</description>
        <pubDate>Thu, 28 May 2009 21:45:11 +0200</pubDate>
        <dc:creator>Rick Macklem &lt;rmacklem@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>7e857dd14fe7f42f5b46af4904f84915215d8987 - - Merge from HEAD</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/nfsd/Makefile#7e857dd14fe7f42f5b46af4904f84915215d8987</link>
        <description>- Merge from HEAD

            List of files:
            /freebsd/sys/modules/nfsd/Makefile</description>
        <pubDate>Fri, 12 Jun 2009 13:50:44 +0200</pubDate>
        <dc:creator>Oleksandr Tymoshenko &lt;gonzo@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>bcbdacdd37acf433e633d31082b460f58d85a032 - Add the kernel build glue for the experimental NFS subsystem that</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/nfsd/Makefile#bcbdacdd37acf433e633d31082b460f58d85a032</link>
        <description>Add the kernel build glue for the experimental NFS subsystem thatincludes support for NFSv4. The subsystem can optionally be linkedinto the kernel using the two options:  NFSCL - the client  NFSD - the serverIt is also built as three modules:  nfscl - the client  nfsd - the server  nfscommon - functions shared by the client and serverApproved by:	kib (mentor)

            List of files:
            /freebsd/sys/modules/nfsd/Makefile</description>
        <pubDate>Thu, 28 May 2009 21:45:11 +0200</pubDate>
        <dc:creator>Rick Macklem &lt;rmacklem@FreeBSD.org&gt;</dc:creator>
    </item>
</channel>
</rss>
