]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commitdiff
Revert "SUNRPC: Don't allow waiting for exiting tasks"
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 3 Sep 2025 13:49:33 +0000 (09:49 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 6 Sep 2025 20:51:26 +0000 (16:51 -0400)
This reverts commit 14e41b16e8cb677bb440dca2edba8b041646c742.

This patch breaks the LTP acct02 test, so let's revert and look for a
better solution.

Reported-by: Mark Brown <broonie@kernel.org>
Reported-by: Harshvardhan Jha <harshvardhan.j.jha@oracle.com>
Link: https://lore.kernel.org/linux-nfs/7d4d57b0-39a3-49f1-8ada-60364743e3b4@sirena.org.uk/
Cc: stable@vger.kernel.org # 6.15.x
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/sched.c

index 73bc39281ef5f5953f9b64734f30e808a6f6bee2..9b45fbdc90cabec75582bfc1a583f4db5486eacf 100644 (file)
@@ -276,8 +276,6 @@ EXPORT_SYMBOL_GPL(rpc_destroy_wait_queue);
 
 static int rpc_wait_bit_killable(struct wait_bit_key *key, int mode)
 {
-       if (unlikely(current->flags & PF_EXITING))
-               return -EINTR;
        schedule();
        if (signal_pending_state(mode, current))
                return -ERESTARTSYS;