search for: 5e9f108

Displaying 1 result from an estimated 1 matches for "5e9f108".

Did you mean: 59108
2016 Jan 18
0
[PATCH] resize: fsync the output file before closing the libvirt connection.
...nce we can reopen the connection (if using --expand for example). See also the description here: https://www.redhat.com/archives/libvir-list/2016-January/msg00767.html --- resize/resize.ml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resize/resize.ml b/resize/resize.ml index d6dd9a5..5e9f108 100644 --- a/resize/resize.ml +++ b/resize/resize.ml @@ -1283,6 +1283,9 @@ read the man page virt-resize(1). let g = if to_be_expanded then ( + g#sync (); + Fsync.file outfile; + g#shutdown (); g#close (); @@ -1354,6 +1357,9 @@ read the man page virt-resize(1)....