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

Skip to content
Commit 3b3be88d authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Use cond_resched_lock() to reduce latencies in the commit scans



Ensure that we conditionally drop the inode->i_lock when it is safe
to do so in the commit loops.
We do so after locking the nfs_page, but before removing it from the
commit list. We can then use list_safe_reset_next to recover the loop
after the lock is retaken.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 5ae67c4f
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