]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: use fsync for dd command 31552/head
authorRishabh Dave <ridave@redhat.com>
Fri, 8 Nov 2019 07:04:27 +0000 (12:34 +0530)
committerJan Fajerski <jfajerski@suse.com>
Tue, 7 Jan 2020 08:49:36 +0000 (09:49 +0100)
commitb612357d525453e392648994a7c49e5722d5262d
tree6c89b83c443aa961df4ff14443c215c38d983cfc
parent3150dfa6f9669d5689d69e7efb07104b15de8051
ceph-volume: use fsync for dd command

fsync makes sure that data and metadata is actually written to device
being zapped before finishing.

Fixes: https://tracker.ceph.com/issues/39156
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 060f54960c3d2d800b28525ba8774a60578f67a8)
src/ceph-volume/ceph_volume/devices/lvm/zap.py