1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/metadata
Alasdair G Kergon b96862ee11 metadata: Consistently skip metadata areas that failed.
Even after writing some metadata encountered problems, some commands
continue (rightly or wrongly) and attempt to make further changes.

Once an mda is marked MDA_FAILED, don't try to use it again.
This also applies when reverting, where one loop already skips
failed mdas but the other doesn't.

This fixes some device open_count warnings on relevant failure paths.
2017-12-12 17:52:45 +00:00
..
cache_manip.c cache: use conditional in warning message 2017-11-24 16:09:59 +01:00
lv_alloc.h tidy: declaration names match implementation 2017-07-20 19:16:41 +02:00
lv_manip.c device: categorise block i/o 2017-12-04 23:45:26 +00:00
lv.c locking: pvmove is locking holding LV 2017-11-24 16:05:21 +01:00
lv.h replicator: remove the code 2017-10-13 16:20:42 -05:00
merge.c raid: add validation checks for reshape flags 2017-11-15 21:24:44 +01:00
metadata-exported.h snapshot: relocate common code validation for snapshot origin 2017-10-27 17:07:42 +02:00
metadata-liblvm.c device: categorise block i/o 2017-12-04 23:45:26 +00:00
metadata.c metadata: Consistently skip metadata areas that failed. 2017-12-12 17:52:45 +00:00
metadata.h device: Tag I/O for each mda on a device separately in log messages. 2017-12-07 03:48:11 +00:00
mirror.c device: categorise block i/o 2017-12-04 23:45:26 +00:00
pool_manip.c cleanup: minor cosmetics 2017-03-10 19:33:01 +01:00
pv_alloc.h doc: change fsf address 2016-01-21 12:11:37 +01:00
pv_manip.c cleanup: drop unneeded headerfiles 2017-11-07 21:26:11 +01:00
pv_map.c doc: change fsf address 2016-01-21 12:11:37 +01:00
pv_map.h tidy: declaration names match implementation 2017-07-20 19:16:41 +02:00
pv.c lvmcache: add optional dev arg to lvmcache_info_from_pvid 2016-06-07 15:15:47 -05:00
pv.h tidy: declaration names match implementation 2017-07-20 19:16:41 +02:00
raid_manip.c raid: ignore --stripesize on raid4/5 conversion to 1 stripe 2017-12-01 15:00:09 +01:00
segtype.c lvconvert: add infrastructure for RaidLV reshaping support 2017-02-24 05:20:58 +01:00
segtype.h cleanup: reuse existing macro 2017-11-27 10:34:30 +01:00
snapshot_manip.c snapshot: relocate common code validation for snapshot origin 2017-10-27 17:07:42 +02:00
takeover_matrix.h lvconvert: add infrastructure for RaidLV reshaping support 2017-02-24 05:20:58 +01:00
thin_manip.c thin: Improve overprovisioning and repair warnings. 2017-10-09 19:48:00 +01:00
vg.c metadata: Remove unused vg.cft_precommitted 2017-11-14 01:22:09 +00:00
vg.h metadata: Remove unused vg.cft_precommitted 2017-11-14 01:22:09 +00:00