[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] mirror: Fix hang (operation waiting for itself/circular depe
From: |
Kevin Wolf |
Subject: |
[PATCH 0/2] mirror: Fix hang (operation waiting for itself/circular dependency) |
Date: |
Wed, 25 Mar 2020 18:23:24 +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.
Kevin Wolf (2):
Revert "mirror: Don't let an operation wait for itself"
mirror: Wait only for in-flight operations
block/mirror.c | 29 ++++++++++++++++-------------
1 file changed, 16 insertions(+), 13 deletions(-)
--
2.20.1
- [PATCH 0/2] mirror: Fix hang (operation waiting for itself/circular dependency),
Kevin Wolf <=