Now all transaction actions drain their respective bds
Also, bdrv_drain_all() did not protect anything in case of IOThreads

Signed-off-by: Andrey Zhadchenko <andrey.zhadche...@virtuozzo.com>
---
 blockdev.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/blockdev.c b/blockdev.c
index 7a376fce90..65932f9afb 100644
--- a/blockdev.c
+++ b/blockdev.c
@@ -2303,9 +2303,6 @@ void qmp_transaction(TransactionActionList *actions,
         block_job_txn = job_txn_new();
     }
 
-    /* drain all i/o before any operations */
-    bdrv_drain_all();
-
     tran = tran_new();
 
     /* We don't do anything in this loop that commits us to the operations */
-- 
2.39.2


Reply via email to