Page MenuHomeFreeBSD

Document ways to reduce Copy times in the nfsd
ClosedPublic

Authored by rmacklem on Mar 16 2024, 10:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 9:05 PM
Unknown Object (File)
Wed, Nov 6, 9:34 PM
Unknown Object (File)
Oct 22 2024, 11:39 AM
Unknown Object (File)
Oct 17 2024, 5:45 PM
Unknown Object (File)
Oct 14 2024, 3:53 PM
Unknown Object (File)
Oct 10 2024, 10:12 PM
Unknown Object (File)
Oct 10 2024, 6:37 AM
Unknown Object (File)
Oct 7 2024, 11:17 PM

Details

Summary

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 stall of the nfsd.

This patch documents ways to avoid this problem.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

usr.sbin/nfsd/nfsd.8
363

This will produce "of the nfsd.", right? I think it would read better without "the", or maybe as "of the nfsd server".

This version has Mike Karel's suggested change.

karels added inline comments.
usr.sbin/nfsd/nfsd.8
377

Minor: it might read better if "as a last resort" was first rather than last in this sentence. Sorry, should have noticed this earlier. I'll approve in any case.

This revision is now accepted and ready to land.Mar 17 2024, 7:27 PM

I'd move "as a last resort" to the head of the sentence as well, but that's fixable on commit.

Very minor comment: there should be markup for sysctl variables, but I haven't checked another manual page to be sure which one we're using. (My gut says .Li would be the expected formatting.)

Very minor comment: there should be markup for sysctl variables, but I haven't checked another manual page to be sure which one we're using. (My gut says .Li would be the expected formatting.)

It appears many use .Va so I have done that.

Thanks everyone for the review, rick