NFSD: Count bytes instead of pages in the NFSv3 READDIR encoder
authorChuck Lever <chuck.lever@oracle.com>
Mon, 9 Nov 2020 18:13:21 +0000 (13:13 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 22 Mar 2021 14:18:55 +0000 (10:18 -0400)
commita1409e2de4f11034c8eb30775cc3e37039a4ef13
tree1a057c5cc0ac182396212f5343b94b2d5aa3bf84
parenta161e6c76aeba835e475a2f27dbbe5c37e565e94
NFSD: Count bytes instead of pages in the NFSv3 READDIR encoder

Clean up: Counting the bytes used by each returned directory entry
seems less brittle to me than trying to measure consumed pages after
the fact.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs3proc.c
fs/nfsd/nfs3xdr.c