On 13.12.24 10:48, Andrey Zhadchenko wrote:


On 12/5/24 22:55, Alexander Atanasov wrote:
This is a base for moving to multithreaded model.

https://virtuozzo.atlassian.net/browse/VSTOR-91821
Signed-off-by: Alexander Atanasov <alexander.atana...@virtuozzo.com>
---
  drivers/md/dm-ploop-map.c    | 65 ++++++++++++++++++++++++++++++++----
  drivers/md/dm-ploop-target.c | 60 +++++++++++++++++++++++++++++++++
  drivers/md/dm-ploop.h        | 10 ++++++
  3 files changed, 128 insertions(+), 7 deletions(-)


[snip]

+    if (ploop->kt_worker) {
+        wake_up_process(ploop->kt_worker->task);
+        // FIXME: a better way to wait for lists to drain

We already have inflight_bios_ref for that. The only exception for this would be delayed writeback.


This is actually properly handled. fixme removed.


--
Regards,
Alexander Atanasov

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to