]> 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)
commit2c25102d4d27d52b67805f23f77378f70134ee7a
tree1a057c5cc0ac182396212f5343b94b2d5aa3bf84
parentb40703e8c01756222eb8088b79305296f9ea787d
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