[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/2] mirror: Fix hang (operation waiting for itself/circular d
From: |
Kevin Wolf |
Subject: |
[PATCH v2 0/2] mirror: Fix hang (operation waiting for itself/circular dependency) |
Date: |
Thu, 26 Mar 2020 16:36:26 +0100 |
The recent fix didn't actually fix the whole problem. Operations can't
only wait for themselves, but we can also end up with circular
dependencies like two operations waiting for each other to complete.
This reverts the first fix and implements another approach.
v2:
- Mark active mirror operations as in-flight, too
Kevin Wolf (2):
Revert "mirror: Don't let an operation wait for itself"
mirror: Wait only for in-flight operations
block/mirror.c | 30 +++++++++++++++++-------------
1 file changed, 17 insertions(+), 13 deletions(-)
--
2.20.1
- [PATCH v2 0/2] mirror: Fix hang (operation waiting for itself/circular dependency),
Kevin Wolf <=