Skip to content

NFSD: restrict PF_LESS_THROTTLE to loop-back requests.

NeilBrown linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2SUNRPC: track whether a request is coming from a loop-back interface.include/linux/sunrpc/svc.h include/linux/sunrpc/svc_xprt.h net/sunrpc/sunrpc.h +1 more+20 -00 replies
2/2nfsd: Only set PF_LESS_THROTTLE when really needed.fs/nfsd/nfssvc.c fs/nfsd/vfs.c+12 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] NFSD: restrict PF_LESS_THROTTLE to loop-back requests.

As PF_LESS_THROTTLE now has a slightly broader meaning it makes sense to restrict it to only the times it is actually needed - when write requests come from the local host.

Thanks,
NeilBrown

---

NeilBrown (2):
SUNRPC: track whether a request is coming from a loop-back interface.
nfsd: Only set PF_LESS_THROTTLE when really needed.

 fs/nfsd/nfssvc.c                |    6 ------
 fs/nfsd/vfs.c                   |   12 ++++++++++++
 include/linux/sunrpc/svc.h      |    1 +
 include/linux/sunrpc/svc_xprt.h |    1 +
 net/sunrpc/sunrpc.h             |   13 +++++++++++++
 net/sunrpc/svcsock.c            |    5 +++++
 6 files changed, 32 insertions(+), 6 deletions(-)
Signature · 1 line
Signature