]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd6c95b6eea543c48672cba833f1d6ad74ce72c49
tree1a057c5cc0ac182396212f5343b94b2d5aa3bf84
parent963488c6559a1b3db0e4af828b4741e9e556e2e2
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