1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/metadata
David Teigland 6c67c7557c scan: use separate fd for bcache
Create a new dev->bcache_fd that the scanning code owns
and is in charge of opening/closing.  This prevents other
parts of lvm code (which do various open/close) from
interfering with the bcache fd.  A number of dev_open
and dev_close are removed from the reading path since
the read path now uses the bcache.

With that in place, open(O_EXCL) for pvcreate/pvremove
can then be fixed.  That wouldn't work previously because
of other open fds.
2018-04-20 11:22:46 -05:00
..
cache_manip.c cache: disallow to combine format 2 with mq 2018-03-19 12:02:08 +01:00
lv_alloc.h tidy: declaration names match implementation 2017-07-20 19:16:41 +02:00
lv_manip.c cleanup: enhance debug message 2018-04-20 12:17:01 +02:00
lv.c activation: separate reporting of error and monitoring status 2018-02-12 22:14:59 +01:00
lv.h replicator: remove the code 2017-10-13 16:20:42 -05:00
merge.c cleanup: correcting macro wrapping 2018-04-20 12:17:01 +02:00
metadata-exported.h scan: use bcache for label scan and vg read 2018-04-20 11:19:24 -05:00
metadata-liblvm.c scan: use separate fd for bcache 2018-04-20 11:22:46 -05:00
metadata.c lvmcache: simplify metadata cache 2018-04-20 11:22:45 -05:00
metadata.h label_scan: remove extra label scan and read for orphan PVs 2018-04-20 11:22:45 -05:00
mirror.c cleanup: display_lvname update message 2018-04-20 12:17:01 +02:00
pool_manip.c lvconvert: use excl activation for conversion 2018-01-17 14:43:34 +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: support raid5_n convenience type on conversion to raid10 2018-03-09 21:23:16 +01:00
segtype.c lvconvert: add infrastructure for RaidLV reshaping support 2017-02-24 05:20:58 +01:00
segtype.h cleanup: decode dso path just once 2018-02-12 22:15:03 +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 lvmcache: simplify metadata cache 2018-04-20 11:22:45 -05:00
vg.h metadata: Remove unused vg.cft_precommitted 2017-11-14 01:22:09 +00:00