1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/metadata
Peter Rajnoha c6f48b7c1a refactor: make device type recognition code common for general use
Changes:

- move device type registration out of "type filter" (filter.c)
to a separate and new dev-type.[ch] for common use throughout the code

- the structure for keeping the major numbers detected for available
device types and available partitioning available is stored in
"dev_types" structure now

- move common partitioning detection code to dev-type.[ch] as well
together with other device-related functions bound to dev_types
(see dev-type.h for the interface)

The dev-type interface contains all common functions used to detect
subsystems/device types, signature/superblock recognition code,
type-specific device properties and other common device properties
(bound to dev_types), including partitioning support.

- add dev_types instance to cmd context as cmd->dev_types for common use

- use cmd->dev_types throughout as a central point for providing
information about device types
2013-06-12 12:08:56 +02:00
..
lv_alloc.h discards: don't discard reconfigured extents 2012-06-27 22:12:01 +01:00
lv_manip.c format1: Fix snapshot reload in lv_remove. 2013-06-10 21:01:57 +02:00
lv.c thin: report 'e' metadata type with higher priority 2013-06-11 14:03:08 +02:00
lv.h Add and track an "ondisk" pointer to struct volume_group. 2013-06-10 17:26:29 +02:00
merge.c thin: add support for external origin 2013-02-23 10:36:58 +01:00
metadata-exported.h thin: add helper functions 2013-06-11 14:03:30 +02:00
metadata.c refactor: make device type recognition code common for general use 2013-06-12 12:08:56 +02:00
metadata.h Move export_vg_to_config_tree alongside export_vg_to_buffer. 2013-06-10 15:55:55 +02:00
mirror.c mirror: implement check for remotely active LV 2013-05-31 21:42:31 +02:00
pv_alloc.h discards: split discard from release_pv_segment 2012-06-27 22:11:54 +01:00
pv_manip.c refactor: make device type recognition code common for general use 2013-06-12 12:08:56 +02: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 refactor: rename embedding area -> bootloader area 2013-05-28 12:37:22 +02:00
pv.h refactor: rename embedding area -> bootloader area 2013-05-28 12:37:22 +02:00
raid_manip.c Clean-up: Replace 'lv_is_active' with more correct/specific variants 2013-05-16 10:36:56 -05:00
replicator_manip.c logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
segtype.c Handle metadata with unknown segment types more gracefully. 2009-10-16 17:41:49 +00:00
segtype.h cleanup: indent line 2013-04-02 15:17:05 +02:00
snapshot_manip.c snapshot: add cow_max_extents 2013-05-30 17:30:15 +02:00
thin_manip.c thin: add helper functions 2013-06-11 14:03:30 +02:00
vg.c Add and track an "ondisk" pointer to struct volume_group. 2013-06-10 17:26:29 +02:00
vg.h Add and track an "ondisk" pointer to struct volume_group. 2013-06-10 17:26:29 +02:00