]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: use fsync for dd command 31553/head
authorRishabh Dave <ridave@redhat.com>
Fri, 8 Nov 2019 07:04:27 +0000 (12:34 +0530)
committerJan Fajerski <jfajerski@suse.com>
Tue, 12 Nov 2019 08:42:14 +0000 (09:42 +0100)
commit04d8b21d0baf5f8a66d4f3926f668bb824adc128
treeb763717afe91234257696bd2486772346b44462e
parentcb8144184d448c9f3b093cdc2f77f7d006bef2d2
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