1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-23 02:05:07 +03:00
Peter Rajnoha 69b1e32c8a wiping: blkid: do not count skipped signatures in final number of wipes
We exclude some signatures from being wiped when using blkid wiping.
These are signatures which we simply overwrite. For example, the
LVM2_member signature which denotes a PV - if we call pvcreate on
existing PV, we just overwrite the PV header, no need to wipe it.

Previously, we counted such signatures as if they were wiped
and they were counted in the final number of wiped signatures
that _wipe_known_signatures_with_blkid fn returned in the "wiped"
output arg. Then the code checking this output arg could be
mislead that wiping happened while no wiping took place in real
and we could fire some code uselessly based on this information
(e.g. refreshing filters/rescanning - see also
commit 6b4066585f73df7328ea16f6cb3713cd49cf2d2d).
2015-02-19 13:30:05 +01:00
..
2015-01-30 16:22:11 +01:00
2014-10-24 16:39:30 +02:00
2014-10-30 23:58:49 +01:00
2015-02-13 10:10:27 -06:00
2015-01-14 14:52:05 +01:00
2014-10-30 23:58:49 +01:00
2014-11-18 16:50:49 +01:00
2015-02-13 14:58:51 +00:00
2014-10-30 23:58:49 +01:00
2014-11-10 22:05:48 +01:00
2015-02-13 10:10:27 -06:00
2014-10-30 23:58:49 +01:00
2014-10-30 23:58:49 +01:00
2014-03-12 19:12:34 +01:00
2014-11-13 17:49:42 +01:00