dlm: remove schedule in receive path
authorAlexander Aring <aahringo@redhat.com>
Tue, 2 Apr 2024 19:18:08 +0000 (15:18 -0400)
committerDavid Teigland <teigland@redhat.com>
Tue, 9 Apr 2024 16:44:49 +0000 (11:44 -0500)
Remove an explicit schedule() call in the message processing path,
in preparation for softirq message processing.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lock.c

index 2f53fdfe262a820a0d56fc540306f54f3fed3973..e4cec14f9973d0d131d66b666ed0617ca7fb7ef8 100644 (file)
@@ -2543,7 +2543,6 @@ static void process_lookup_list(struct dlm_rsb *r)
        list_for_each_entry_safe(lkb, safe, &r->res_lookup, lkb_rsb_lookup) {
                list_del_init(&lkb->lkb_rsb_lookup);
                _request_lock(r, lkb);
-               schedule();
        }
 }