NFSv4: Add missing rescheduling points in nfs_client_return_marked_delegations
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 21 Aug 2024 18:05:00 +0000 (14:05 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 22 Aug 2024 21:01:10 +0000 (17:01 -0400)
commita017ad1313fc91bdf235097fd0a02f673fc7bb11
tree1e3db93771c1866bfcf490913b5b80910853326f
parent95832998fb6edc50d4f2f6a958d9f90142d4be48
NFSv4: Add missing rescheduling points in nfs_client_return_marked_delegations

We're seeing reports of soft lockups when iterating through the loops,
so let's add rescheduling points.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/super.c