1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Zdenek Kabelac 8bbec41bd4 thin: no thin-pool flush when reading metadata status
Previous fix missed the fact the we do query for 'percent' with
seg value either set or unset (API overload...)
When 'seg' was unset, we still issue flush with status.
Fix it by cheking segtype by target_type.

As we check for segtype - we could also skip whole percentage
if the 'segtype' is unknown by code directly.

Reported-by: Ming-Hung Tsai <mingnus gmail com
2016-03-31 12:15:47 +02:00
..
activate thin: no thin-pool flush when reading metadata status 2016-03-31 12:15:47 +02:00
cache cleanup: drop unneeded test 2016-02-25 23:30:25 +01:00
cache_segtype activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
commands dbus: add notification from commands 2016-03-07 10:06:09 -06:00
config doc: describe lvmlockd/lvmpolld features as available if LVM compiled with lockd/polld support 2016-03-30 14:10:56 +02:00
datastruct doc: change fsf address 2016-01-21 12:11:37 +01:00
device dev-cache: fix check for already indexed dev in _index_dev_by_vgid_and_lvid 2016-03-30 15:57:57 +02:00
display commands: lvdisplay: recognize -H|--history switch 2016-03-04 10:27:45 +01:00
error activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
filters dev-cache: also index VGIDs and LVIDs if using persistent .cache file 2016-03-30 11:00:01 +02:00
format1 redefine pvcreate structs 2016-02-25 09:14:10 -06:00
format_pool redefine pvcreate structs 2016-02-25 09:14:10 -06:00
format_text gcc: cast time_t to 64bit 2016-03-10 18:38:54 +01:00
freeseg doc: change fsf address 2016-01-21 12:11:37 +01:00
label doc: change fsf address 2016-01-21 12:11:37 +01:00
locking lvmlockd: fix sparse snapshot case 2016-02-23 15:45:25 -06:00
log dbus: add notification from commands 2016-03-07 10:06:09 -06:00
lvmpolld doc: change fsf address 2016-01-21 12:11:37 +01:00
metadata activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
mirror activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
misc pvs: replace 'unknown device' with [unknown] 2016-03-01 11:12:03 -06:00
mm doc: change fsf address 2016-01-21 12:11:37 +01:00
notify vgscan: add --notifydbus to send a notification 2016-03-07 10:50:45 -06:00
properties doc: change fsf address 2016-01-21 12:11:37 +01:00
raid activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
replicator doc: change fsf address 2016-01-21 12:11:37 +01:00
report properties: use proper 'get' variant for unimplemented _pv_major_get and _pv_minor_get fns 2016-03-23 10:52:46 +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 metadata: add support for interconnection of thin pool LV segment with indirect origin 2016-03-03 13:46:40 +01:00
unknown doc: change fsf address 2016-01-21 12:11:37 +01:00
uuid doc: change fsf address 2016-01-21 12:11:37 +01:00
zero activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
Makefile.in dbus: add notification from commands 2016-03-07 10:06:09 -06:00