NFSD: Simplify READ_PLUS
authorAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 13 Sep 2022 18:01:51 +0000 (14:01 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 28 Nov 2022 17:54:43 +0000 (12:54 -0500)
commiteeadcb75794516839078c28b3730132aeb700ce6
treea12458f2cf4088ac8549761e0dcb0f691876baef
parentb7b275e60bcd5f89771e865a8239325f86d9927d
NFSD: Simplify READ_PLUS

Chuck had suggested reverting READ_PLUS so it returns a single DATA
segment covering the requested read range. This prepares the server for
a future "sparse read" function so support can easily be added without
needing to rip out the old READ_PLUS code at the same time.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4xdr.c