1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/device
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 6b4066585f).
2015-02-19 13:30:05 +01:00
..
dev-cache.c device: add infrastructure to support external device info 2015-01-30 13:01:12 +01:00
dev-cache.h report: select: refactor: move str_list to libdm 2014-06-17 16:27:20 +02:00
dev-ext-udev-constants.h cleanup: add dev-ext-udev-constants.h with constants/names of the properties/values used from udev db 2015-01-30 13:17:12 +01:00
dev-ext.c device: add infrastructure to support external device info 2015-01-30 13:01:12 +01:00
dev-io.c device: Fix BLKSSZGET definition check. 2014-10-13 18:15:41 +01:00
dev-luks.c device: cleanup signature wiping functions 2013-11-27 12:56:58 +01:00
dev-md.c cleanup: add dev-ext-udev-constants.h with constants/names of the properties/values used from udev db 2015-01-30 13:17:12 +01:00
dev-swap.c dev-swap: use SECTOR_SHIFT 2014-03-22 20:43:05 +01:00
dev-type.c wiping: blkid: do not count skipped signatures in final number of wipes 2015-02-19 13:30:05 +01:00
dev-type.h filters: no need to refresh filters/rescan if no signature is wiped during pvcreate at all 2015-02-17 09:46:34 +01:00
device-types.h cleanup: reorder commonly available devs in system to the front 2014-02-24 21:13:35 +01:00
device.h device: add infrastructure to support external device info 2015-01-30 13:01:12 +01:00