1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-13 17:18:32 +03:00
lvm2/lib
Mike Snitzer 004cda1b64 Convey need for snapshot-merge target in lvconvert error message and man
page.

Add ->target_name to segtype_handler to allow a more specific target
name to be returned based on the state of the segment.

Result of trying to merge a snapshot using a kernel that doesn't have
the snapshot-merge target:

Before:
# lvconvert --merge vg/snap
  Can't expand LV lv: snapshot target support missing from kernel?
  Failed to suspend origin lv

After:
# lvconvert --merge vg/snap
  Can't process LV lv: snapshot-merge target support missing from kernel?
  Failed to suspend origin lv
  Unable to merge LV "snap" into it's origin.
2010-10-13 21:26:37 +00:00
..
activate Convey need for snapshot-merge target in lvconvert error message and man 2010-10-13 21:26:37 +00:00
cache Add dm_zalloc and use it and dm_pool_zalloc throughout. 2010-09-30 21:06:50 +00:00
commands Limit repeated accesses to broken devices. 2010-10-13 15:40:38 +00:00
config Limit repeated accesses to broken devices. 2010-10-13 15:40:38 +00:00
datastruct Remove unnecessary / duplicate dm_list macros and functions. 2009-11-25 20:44:07 +00:00
device Limit repeated accesses to broken devices. 2010-10-13 15:40:38 +00:00
display Allow internal suspend and resume of origin without its snapshots. 2010-08-17 16:25:32 +00:00
error Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
filters Add dm_zalloc and use it and dm_pool_zalloc throughout. 2010-09-30 21:06:50 +00:00
format1 Rename 'flags' to 'status' for struct metadata_area. 2010-10-05 17:34:05 +00:00
format_pool Rename 'flags' to 'status' for struct metadata_area. 2010-10-05 17:34:05 +00:00
format_text Rename 'flags' to 'status' for struct metadata_area. 2010-10-05 17:34:05 +00:00
freeseg Fix reporting of LV fields alongside unallocated PV segments. 2008-06-25 16:52:27 +00:00
label Add dm_zalloc and use it and dm_pool_zalloc throughout. 2010-09-30 21:06:50 +00:00
locking Limit repeated accesses to broken devices. 2010-10-13 15:40:38 +00:00
log Various cleanups following recent commits. 2010-06-21 15:56:57 +00:00
metadata Convey need for snapshot-merge target in lvconvert error message and man 2010-10-13 21:26:37 +00:00
mirror Allow internal suspend and resume of origin without its snapshots. 2010-08-17 16:25:32 +00:00
misc Limit repeated accesses to broken devices. 2010-10-13 15:40:38 +00:00
mm Maps fix 2010-09-30 11:32:40 +00:00
replicator Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
report Refactor and add code for (lv) 'modules' get function. 2010-10-12 16:13:06 +00:00
snapshot Convey need for snapshot-merge target in lvconvert error message and man 2010-10-13 21:26:37 +00:00
striped Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
unknown Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
uuid Add id_format_and_copy() common function and call from _uuid_disp. 2010-09-30 14:07:33 +00:00
zero Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
Makefile.in Refactor metadata.[ch] into lv.[ch] for lv functions. 2010-09-30 13:05:45 +00:00