1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Zdenek Kabelac e1112227d1 lvresize: fix zero size extension
Commit ca878a3426 changed behavior
or resize operation. Later the code has been futher changed
to skip fs resize completely when size of LV is already matching
and finaly at the most recent resize changeset for resize the
check for matching size has been eliminated as well so we ended
with a request call to resize fs to 0 size in some cases.

This commit reoders some test so the prompt happens just once before
resize of possibly 2 related volumes.

Also extra test for having LV already given size is added, and
whole metadata update is skipped for this case as the only
result would be an increment of seqno.

However the filesystem is still resized when requested,
so if the LV has some size and the resize is resolved to
the same size, the filesystem resize is called so in case FS
would not match, the resize will happen.
2016-07-13 21:52:04 +02:00
..
activate thin: fix link validation for unused thin-pool 2016-07-01 00:44:46 +02:00
cache cleanup: gcc warns removal 2016-07-12 10:39:33 +02:00
cache_segtype lvchange: allow change of cache mode 2016-05-19 18:40:14 +02:00
commands libdm: log: remove log_print_bypass_report calls and register new print_log_libdm for libdm during lvm initialization instead 2016-06-23 14:45:52 +02:00
config raid: Infrastructure for raid takeover. 2016-06-28 02:42:30 +01:00
datastruct datastruct: Add str_list_wipe. 2016-04-29 19:47:15 +01:00
device devices: handle partscan loop devices 2016-06-01 17:37:47 +02:00
display cleanup: warns from older gcc 2016-07-01 00:44:48 +02:00
error activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
filters vgimportclone: add native command 2016-06-22 13:13:10 -05:00
format1 redefine pvcreate structs 2016-02-25 09:14:10 -06:00
format_pool macros: Use is_power_of_2. 2016-06-30 17:59:44 +01:00
format_text cleanup: drop unused header files 2016-07-04 17:40:24 +02:00
freeseg doc: change fsf address 2016-01-21 12:11:37 +01:00
label lvmcache: add optional dev arg to lvmcache_info_from_pvid 2016-06-07 15:15:47 -05:00
locking lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00
log tests: increase max lines for clvmd 2016-07-11 14:45:25 +02:00
lvmpolld doc: change fsf address 2016-01-21 12:11:37 +01:00
metadata lvresize: fix zero size extension 2016-07-13 21:52:04 +02:00
mirror activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
misc lvconvert: Conversions between striped and raid0. 2016-06-28 23:44:15 +01:00
mm cleanup: compile fixes for --disable-devmapper 2016-06-03 12:46:43 +02:00
notify coverity: drop unused header file 2016-04-22 01:12:34 +02:00
properties doc: change fsf address 2016-01-21 12:11:37 +01:00
raid raid0: Add raid0_meta segment type. 2016-07-01 22:20:54 +01:00
replicator doc: change fsf address 2016-01-21 12:11:37 +01:00
report reporter: simplify --configreport handling for -S|--select and fix an issue reported by coverity 2016-06-28 02:27:19 +01:00
snapshot activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
striped activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
thin macros: Use is_power_of_2. 2016-06-30 17:59:44 +01:00
unknown doc: change fsf address 2016-01-21 12:11:37 +01:00
uuid coverity: missing check for id_write_format return value 2016-05-31 09:56:10 +02:00
zero activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
Makefile.in vgimportclone: add native command 2016-06-22 13:13:10 -05:00