1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-09 01:18:39 +03:00
lvm2/lib/metadata
Alasdair G Kergon bf78e55ef3 pvcreate: Fix cache state with filters/sig wiping.
_pvcreate_check() has two missing requirements:
  After refreshing filters there must be a rescan.
    (Otherwise the persistent filter may remain empty.)
  After wiping a signature, the filters must be refreshed.
    (A device that was previously excluded by the filter due to
     its signature might now need to be included.)

If several devices are added at once, the repeated scanning isn't
strictly needed, but we can address that later as part of the command
processing restructuring (by grouping the devices).

Replace the new pvcreate code added by commit
54685c20fc "filters: fix regression caused
by commit e80884cd080cad7e10be4588e3493b9000649426"
with this change to _pvcreate_check().

The filter refresh problem dates back to commit
acb4b5e4de "Fix pvcreate device check."
2014-08-14 01:30:01 +01:00
..
cache_manip.c cleanup: show better messages 2014-07-22 22:41:40 +02:00
lv_alloc.h raid/misc: Allow creation of parallel areas by LV vs segment 2014-06-25 21:20:41 -05:00
lv_manip.c lvresize: Allow approximation with +%FREE. 2014-08-01 00:35:43 +01:00
lv.c activation: if LV inactive and non-clustered, do not issue "Cannot deactivate" on -aln 2014-08-07 16:44:09 +02:00
lv.h refactor: remove static modifier for lv_raid_image_in_sync and lv_raid_healthy fn 2014-07-04 15:40:17 +02:00
merge.c pvvmove: add a few comments 2014-06-20 11:41:20 +01:00
metadata-exported.h thin and cache: unify pool common code 2014-07-22 22:41:38 +02:00
metadata.c pvcreate: Fix cache state with filters/sig wiping. 2014-08-14 01:30:01 +01:00
metadata.h report: Add lv_parent field. 2014-07-03 23:49:34 +01:00
mirror.c raid/misc: Allow creation of parallel areas by LV vs segment 2014-06-25 21:20:41 -05:00
pool_manip.c thin and cache: unify pool common code 2014-07-22 22:41:38 +02:00
pv_alloc.h cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
pv_manip.c misc: after releasing a PV segment, merge it with any adjacent free space 2014-06-25 22:04:58 -05:00
pv_map.c logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
pv_map.h Track unreserved space for all alloc policies and then permit NORMAL to place 2012-02-01 02:10:45 +00:00
pv.c pv_vg_name: do not expose internal orphans to lvm2 users 2014-03-19 00:57:59 +01:00
pv.h cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
raid_manip.c raid: Moved degraded activation code to raid_manip. 2014-07-22 20:50:29 +01:00
replicator_manip.c logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
segtype.c clean: remove unneeded assign 2013-06-17 09:34:56 +02:00
segtype.h report: select: refactor: move percent handling code to libdm for reuse 2014-06-17 16:27:21 +02:00
snapshot_manip.c snapshot: check snapshot exists 2014-06-17 13:36:07 +02:00
thin_manip.c thin and cache: unify pool common code 2014-07-22 22:41:38 +02:00
vg.c lvmetad: more reuse precommit buffer 2014-03-01 14:08:58 +01:00
vg.h lvmetad: more reuse precommit buffer 2014-03-01 14:08:58 +01:00