]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: use fsync for dd command 31479/head
authorRishabh Dave <ridave@redhat.com>
Fri, 8 Nov 2019 07:04:27 +0000 (12:34 +0530)
committerRishabh Dave <ridave@redhat.com>
Fri, 8 Nov 2019 07:04:27 +0000 (12:34 +0530)
commit060f54960c3d2d800b28525ba8774a60578f67a8
tree74ecd1e9fc96d16146447a6e63e819e5cf34f327
parent324f8781ca4cd63a1eb46cd525e7fec4639e1e78
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>
src/ceph-volume/ceph_volume/devices/lvm/zap.py