public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Fixes for READ_PLUS
@ 2020-12-08 20:29 schumaker.anna
  2020-12-08 20:29 ` [PATCH v2 1/2] SUNRPC: Keep buf->len in sync with xdr->nwords when expanding holes schumaker.anna
  2020-12-08 20:29 ` [PATCH v2 2/2] SUNRPC: Check if the buffer has fewer bytes than requested schumaker.anna
  0 siblings, 2 replies; 6+ messages in thread
From: schumaker.anna @ 2020-12-08 20:29 UTC (permalink / raw)
  To: linux-nfs; +Cc: Anna.Schumaker

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

These patches fix up hole and data segment decoding for READ_PLUS. It
turns out I wasn't handling data getting truncated off the end of the
message properly. These patches fix it up, and now xfstests generic/091
and generic/263 pass when run against servers exporting ext4 and btrfs.
These tests also pass against servers exporting xfs when the clone
operation is disabled, so it seems like there is something going on
inside the xfs filesystem causing these tests to still fail.

- Changes since v1:
  - Drop patch for allocating scratch page
  - Drop patch for disabling READ_PLUS behind a Kconfig option

Thanks,
Anna

Anna Schumaker (2):
  SUNRPC: Keep buf->len in sync with xdr->nwords when expanding holes
  SUNRPC: Check if the buffer has fewer bytes than requested

 net/sunrpc/xdr.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
2.29.2


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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-08 20:29 [PATCH v2 0/2] Fixes for READ_PLUS schumaker.anna
2020-12-08 20:29 ` [PATCH v2 1/2] SUNRPC: Keep buf->len in sync with xdr->nwords when expanding holes schumaker.anna
2020-12-08 20:56   ` Chuck Lever
2020-12-08 21:11     ` Anna Schumaker
2020-12-09 16:05       ` Chuck Lever
2020-12-08 20:29 ` [PATCH v2 2/2] SUNRPC: Check if the buffer has fewer bytes than requested schumaker.anna

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