[PATCH v3 0/2] sunrpc: fix handling of rq_bvec array in svc_rqst

Jeff Layton posted 2 patches 2 months, 1 week ago
fs/nfsd/vfs.c              | 6 +++---
include/linux/sunrpc/svc.h | 1 +
net/sunrpc/svc.c           | 4 +++-
net/sunrpc/svcsock.c       | 4 ++--
4 files changed, 9 insertions(+), 6 deletions(-)
[PATCH v3 0/2] sunrpc: fix handling of rq_bvec array in svc_rqst
Posted by Jeff Layton 2 months, 1 week ago
This version of the series just changes the second patch to use a
separate rq_bvec_len field instead of rq_maxpages at the places where
it's iterating over the rq_bvec.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
Changes in v3:
- Add rq_bvec_len field and use it in appropriate places
- Link to v2: https://lore.kernel.org/r/20251008-rq_bvec-v2-0-823c0a85a27c@kernel.org

Changes in v2:
- Better changelog message for patch #2
- Link to v1: https://lore.kernel.org/r/20251008-rq_bvec-v1-0-7f23d32d75e5@kernel.org

---
Jeff Layton (2):
      sunrpc: account for TCP record marker in rq_bvec array when sending
      sunrpc: add a slot to rqstp->rq_bvec for TCP record marker

 fs/nfsd/vfs.c              | 6 +++---
 include/linux/sunrpc/svc.h | 1 +
 net/sunrpc/svc.c           | 4 +++-
 net/sunrpc/svcsock.c       | 4 ++--
 4 files changed, 9 insertions(+), 6 deletions(-)
---
base-commit: 177818f176ef904fb18d237d1dbba00c2643aaf2
change-id: 20251008-rq_bvec-b66afd0fdbbb

Best regards,
-- 
Jeff Layton <jlayton@kernel.org>