On 1/24/25 23:36, Alexander Atanasov wrote:
@@ -2141,8 +2114,9 @@ int ploop_worker(void *data)
llist_empty(&ploop->llresubmit_pios) &&
!ploop->force_md_writeback) {
if (kthread_should_stop()) {
-
wait_event_interruptible(ploop->dispatcher_wq_data,
-
(!ploop_runners_have_pending(ploop)));
+ wait_event_interruptible(
+ ploop->dispatcher_wq_data,
+ (!ploop_runners_have_pending(ploop)));
__set_current_state(TASK_RUNNING);
break;
}
@@ -2155,7 +2129,7 @@ int ploop_worker(void *data)
cond_resched(); /* give other processes chance to run */
if (kthread_should_stop()) {
wait_event_interruptible(ploop->dispatcher_wq_data,
-
(!ploop_runners_have_pending(ploop)));
+ (!ploop_runners_have_pending(ploop)));
__set_current_state(TASK_RUNNING);
break;
}
The above hunks do nothing, please remove. If you want to fix code
formatting please fix it in the scope of original patch "[PATCH vz9 v1
38/63] dm-ploop: introduce pio runner threads".
--
Best regards, Tikhomirov Pavel
Senior Software Developer, Virtuozzo.
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel