Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 40dd4b7a authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4.1: Optimise layout return-on-close



Optimise the layout return on close code by ensuring that

1) Add a check for whether we hold a layout before taking any spinlocks
2) Only take the spin lock once
3) Use nfs_state->state to speed up open file checks

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent b4019c0e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment