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

Commit edc05fc1 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: reduce latency by using conditional rescheduling in nfs_scan_list

parent dce34ce2
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -429,7 +429,8 @@ int nfs_scan_list(struct nfs_inode *nfsi,
					goto out;
					goto out;
			}
			}
		}
		}

		/* for latency reduction */
		cond_resched_lock(&nfsi->req_lock);
	}
	}
out:
out:
	return res;
	return res;