Skip to content

Commit b3c56a5

Browse files
author
David Scott
committed
Update to the new Redo_log flush API
Signed-off-by: David Scott <[email protected]>
1 parent cb3f60c commit b3c56a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

xenvm-local-allocator/local_allocator.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ let main use_mock config daemon socket journal fromLVM toLVM =
449449
J.push j { Op.volume; device }
450450
>>|= fun wait ->
451451
(* The operation is now in the journal *)
452-
wait ()
452+
wait.J.sync ()
453453
(* The operation is now complete *)
454454
>>= fun () ->
455455
let action = match action with

xenvmd/xenvmd.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ module FreePool = struct
649649
J.push j (Op.FreeAllocation (host, allocated_extents))
650650
>>|= fun wait ->
651651
(* The operation is now in the journal *)
652-
wait ()
652+
wait.J.sync ()
653653
(* The operation has been performed *)
654654
| None, `Ok _ ->
655655
error "Unable to extend LV %s because the journal is not configured" freename;

0 commit comments

Comments
 (0)