Skip to content

Performance optimsations for 4.10

Trond Myklebust linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5NFSv4: Don't check file access when reclaiming statefs/nfs/nfs4proc.c+11 -30 replies
2/5NFSv4: Don't ask for the change attribute when reclaiming statefs/nfs/nfs4proc.c+0 -13 replies
3/5NFSv4: Don't request a GETATTR on open_downgrade.fs/nfs/nfs4xdr.c+2 -80 replies
4/5NFSv4: Don't request close-to-open attribute when holding a delegationfs/nfs/nfs4proc.c fs/nfs/nfs4xdr.c+10 -30 replies
5/5NFSv4: Optimise away forced revalidation when we know the attributes are OKfs/nfs/delegation.c fs/nfs/inode.c+1 -50 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/5] Performance optimsations for 4.10

This patch series contains a set of minor optimisations that are mainly useful against pNFS systems that may incur a higher performance penalty on unnecessary attribute requests by triggering an internal RPC call from the MDS to the DS.

- Speed up state recovery after a server reboot by avoiding unnecessary GETATTR and ACCESS checks.
- Avoid unnecessary attribute revalidations on operations such as OPEN_DOWNGRADE, where we don't yet need to update close-to-open cache consistency attributes.
- Avoid unnecessary attribute revalidations when we hold a delegation.

Trond Myklebust (5):
NFSv4: Don't check file access when reclaiming state
NFSv4: Don't ask for the change attribute when reclaiming state
NFSv4: Don't request a GETATTR on open_downgrade.
NFSv4: Don't request close-to-open attribute when holding a delegation
NFSv4: Optimise away forced revalidation when we know the attributes
are OK

 fs/nfs/delegation.c |  4 ----
 fs/nfs/inode.c      |  2 +-
 fs/nfs/nfs4proc.c   | 25 +++++++++++++++++++------
 fs/nfs/nfs4xdr.c    | 13 ++++---------
 4 files changed, 24 insertions(+), 20 deletions(-)
Signature · 1 line
2.9.3