]> git.baikalelectronics.ru Git - kernel.git/commit
NFSD: Move copy offload callback arguments into a separate structure
authorChuck Lever <chuck.lever@oracle.com>
Wed, 27 Jul 2022 18:41:18 +0000 (14:41 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Sat, 30 Jul 2022 00:17:00 +0000 (20:17 -0400)
commited0ce074c440873ddc16e16bb018899166f94810
treee7dd52ee1ae000179701e9658c655889eaeac370
parentd474d686defac0ac2cfe17f85b620410f9180c44
NFSD: Move copy offload callback arguments into a separate structure

Refactor so that CB_OFFLOAD arguments can be passed without
allocating a whole struct nfsd4_copy object. On my system (x86_64)
this removes another 96 bytes from struct nfsd4_copy.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4callback.c
fs/nfsd/nfs4proc.c
fs/nfsd/xdr4.h