public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] NFSD: Simplify READ_PLUS
@ 2022-09-07 19:52 Anna Schumaker
  2022-09-07 19:52 ` [PATCH v2 1/1] " Anna Schumaker
  0 siblings, 1 reply; 9+ messages in thread
From: Anna Schumaker @ 2022-09-07 19:52 UTC (permalink / raw)
  To: linux-nfs, chuck.lever; +Cc: anna

From: Anna Schumaker <Anna.Schumaker@Netapp.com>

When we left off with READ_PLUS, Chuck had suggested reverting the
server to reply with a single NFS4_CONTENT_DATA segment essentially
mimicing how the READ operation behaves. Then, a future sparse read
function can be added and the server modified to support it without
needing to rip out the old READ_PLUS code at the same time.

This patch takes that first step. I was even able to re-use the
nfsd4_encode_readv() and nfsd4_encode_splice_read() functions to
remove some duuplicate code.

- v2:
  - Add splice read support
  - Address Chuck's style comments
  - Reword the commit message

Thanks,
Anna


Anna Schumaker (1):
  NFSD: Simplify READ_PLUS

 fs/nfsd/nfs4xdr.c | 139 +++++++++++-----------------------------------
 1 file changed, 32 insertions(+), 107 deletions(-)

-- 
2.37.2


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-09-08 16:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-07 19:52 [PATCH v2 0/1] NFSD: Simplify READ_PLUS Anna Schumaker
2022-09-07 19:52 ` [PATCH v2 1/1] " Anna Schumaker
2022-09-07 20:29   ` Chuck Lever III
2022-09-07 20:37     ` Anna Schumaker
2022-09-07 20:51       ` Chuck Lever III
2022-09-07 22:33         ` Trond Myklebust
2022-09-08 15:36           ` Chuck Lever III
2022-09-08 16:25             ` Trond Myklebust
2022-09-08 16:39       ` Chuck Lever III

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox