commit | 75a422cd19f00bace6b2a06da12029b849dd4a52 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Sat Jun 09 10:47:36 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Sat Jun 09 10:47:36 2012 +0400 |
tree | 5b8e1ea644307946c3fad31e25b8969c4be91a11 | |
parent | 17f32195ca2e21979214ad334e2fa0bb61aba33b [diff] |
vzctl chkpnt: fsync dump file In case dump file is on shared storage like NFS in async mode, it can be un-synced to disk (and shown with 0 size) which breaks migration. Make sure we do fsync() before closing fd. Reference: PSBM-11001 Reference: vzctl@769499 Signed-off-by: Kir Kolyshkin <kir@openvz.org>