Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150949604
D44395.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D44395.diff
View Options
diff --git a/usr.sbin/nfsd/nfsd.8 b/usr.sbin/nfsd/nfsd.8
--- a/usr.sbin/nfsd/nfsd.8
+++ b/usr.sbin/nfsd/nfsd.8
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd March 22, 2023
+.Dd March 16, 2024
.Dt NFSD 8
.Os
.Sh NAME
@@ -353,3 +353,25 @@
Linux 5.n kernels appear to have been patched such that this
.Xr sysctl 8
does not need to be set.
+.Pp
+For NFSv4.2, a Copy operation can take a long time to complete.
+If there is a concurrent ExchangeID or DelegReturn operation
+which requires the exclusive lock on all NFSv4 state, this can
+result in a
+.Dq stall
+of the
+.Nm
+server.
+If your storage is on ZFS without block cloning enabled,
+setting the
+.Xr sysctl 8
+.Va vfs.zfs.dmu_offset_next_sync
+to 0 can often avoid this problem.
+It is also possible to set the
+.Xr sysctl 8
+.Va vfs.nfsd.maxcopyrange
+to 10-100 megabytes to try and reduce Copy operation times.
+As a last resort, setting
+.Xr sysctl 8
+.Va vfs.nfsd.maxcopyrange
+to 0 disables the Copy operation.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 6, 3:42 AM (1 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30934585
Default Alt Text
D44395.diff (1 KB)
Attached To
Mode
D44395: Document ways to reduce Copy times in the nfsd
Attached
Detach File
Event Timeline
Log In to Comment