Re: [PATCH 0/1] Enable inter server to server copies on a export

Steve Dickson
2021-11-01T20:28:15Z

On 11/1/21 15:26, Bruce Fields wrote:
> On Mon, Nov 01, 2021 at 03:10:31PM -0400, Steve Dickson wrote:
>>
>>
>> On 11/1/21 14:39, Bruce Fields wrote:
>>> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
>>> index 91ba391f9b32..14bc3f0b0149 100644
>>> --- a/Documentation/admin-guide/kernel-parameters.txt
>>> +++ b/Documentation/admin-guide/kernel-parameters.txt
>>> @@ -3243,6 +3243,19 @@
>>> driver. A non-zero value sets the minimum interval
>>> in seconds between layoutstats transmissions.
>>> + nfsd.inter_copy_offload_enable =
>>> + [NFSv4.2] When set to 1, the server will support
>>> + server-to-server copies for which this server is
>>> + the destination of the copy.
>>> +
>>> + nfsd.nfsd4_ssc_umount_timeout =
>>> + [NFSv4.2] When used as the destination of a
>>> + server-to-server copy, knfsd temporarily mounts
>>> + the source server. It caches the mount in case
>>> + it will be needed again, and discards it if not
>>> + used for the number of milliseconds specified by
>>> + this parameter.
>>> +
>>> nfsd.nfs4_disable_idmapping=
>>> [NFSv4] When set to the default of '1', the NFSv4
>>> server will return only numeric uids and gids to
>>> @@ -3250,6 +3263,7 @@
>>> and gids from such clients. This is intended to ease
>>> migration from NFSv2/v3.
>>> +
>>> nmi_backtrace.backtrace_idle [KNL]
>>> Dump stacks even of idle CPUs in response to an
>>> NMI stack-backtrace request.
>>>
>> Interesting... I don't see these in the Linus tree I'm looking at [1]
>> find Documentation/ -type f | xargs grep -i inter_copy_offload_enable
>
> I was suggesting that as a patch. It's queued up for 5.16 now.
Sorry I did miss the patch part of the email...

Does it make sense to document both nfs and nfsd module
parameters in a couple man pages?

steved.