[Devel] [PATCH RHEL9 COMMIT] dm-ploop: remove redundant wakeup of dispatcher_wq_prealloc
Konstantin Khorenko
khorenko at virtuozzo.com
Tue Jul 8 14:40:06 MSK 2025
The commit is pushed to "branch-rh9-5.14.0-427.55.1.vz9.82.x-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh9-5.14.0-427.55.1.vz9.82.3
------>
commit c64755d82a450ec548e228aa4dc7061934ead791
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date: Tue Jul 8 13:14:19 2025 +0200
dm-ploop: remove redundant wakeup of dispatcher_wq_prealloc
The wakeup exists in the function caller - in ploop_allocator().
Found while working on
https://virtuozzo.atlassian.net/browse/VSTOR-108868
Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
Feature: dm-ploop: ploop target driver
---
drivers/md/dm-ploop-map.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/md/dm-ploop-map.c b/drivers/md/dm-ploop-map.c
index fcc10894411ca..cbac93194c344 100644
--- a/drivers/md/dm-ploop-map.c
+++ b/drivers/md/dm-ploop-map.c
@@ -1216,9 +1216,6 @@ static int ploop_preallocate_cluster(struct ploop *ploop, struct file *file)
ploop->prealloc_size = 0;
spin_unlock_irqrestore(&ploop->bat_lock, flags);
- /* notify if someone is waiting */
- wake_up_interruptible(&ploop->dispatcher_wq_prealloc);
-
return ret;
}
ALLOW_ERROR_INJECTION(ploop_preallocate_cluster, ERRNO);
More information about the Devel
mailing list