Skip to content

Add lvm lv properties and lvm2app interfaces for pv/vg/lv.

Dave Wysochanski lvm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14Add some lv 'get' functions that require no refactoring.lib/report/properties.c+7 -71 reply
2/14Refactor and add code for (lv) 'lv_path' get function.lib/metadata/lv.c lib/metadata/lv.h lib/report/properties.c +1 more+24 -111 reply
2/14Refactor and add code for (lv) 'lv_path' get function.+0 -01 reply
3/14Refactor and add code for (lv) 'origin_size' get function.lib/metadata/lv.c lib/metadata/lv.h lib/report/properties.c +1 more+16 -71 reply
3/14Refactor and add code for (lv) 'origin_size' get function.+0 -00 replies
4/14Refactor and add code for (lv) 'move_pv' get function.lib/metadata/lv.c lib/metadata/lv.h lib/report/properties.c +1 more+20 -91 reply
4/14Refactor and add code for (lv) 'move_pv' get function.+0 -00 replies
5/14Refactor and add code for (lv) 'convert_lv' get function.lib/metadata/lv.c lib/metadata/lv.h lib/report/properties.c +1 more+23 -131 reply
5/14Refactor and add code for (lv) 'convert_lv' get function.+0 -01 reply
5/14Refactor and add code for (lv) 'convert_lv' get function.+0 -00 replies
6/14Refactor and add code for (lv) 'lv_kernel_{major|minor}' get functions.lib/metadata/lv.c lib/metadata/lv.h lib/report/properties.c +1 more+27 -81 reply
7/14Refactor and add code for (lv) 'mirror_log' get function.lib/metadata/lv.c lib/metadata/lv.h lib/report/properties.c +1 more+22 -81 reply
7/14Refactor and add code for (lv) 'mirror_log' get function.+0 -00 replies
8/14Refactor and add code for (lv) 'modules' get function.lib/metadata/lv.c lib/metadata/lv.h lib/report/properties.c +1 more+21 -90 replies
9/14Refactor and add code for (lv) 'lv_name' get function.lib/metadata/lv.c lib/metadata/lv.h lib/report/properties.c +1 more+34 -241 reply
9/14Refactor and add code for (lv) 'lv_name' get function.+0 -00 replies
10/14Refactor and add code for (lv) 'lv_origin' get function.lib/metadata/lv.c lib/metadata/lv.h lib/report/properties.c +1 more+13 -30 replies
11/14Add lvm_vg_get_property() generic vg property function.liblvm/lvm2app.h liblvm/lvm_vg.c+61 -04 replies
11/14Add lvm_vg_get_property() generic vg property function.+0 -00 replies
12/14Add lvm_pv_get_property() generic function to obtain value of any pv property.liblvm/lvm2app.h liblvm/lvm_pv.c+44 -00 replies
13/14Add lvm_lv_get_property() generic function to obtain value of any lv property.lib/report/properties.c lib/report/properties.h liblvm/lvm2app.h +1 more+52 -00 replies
14/14Add interactive tests for lvm_{pv|vg|lv}_get_property().test/api/test.c+116 -00 replies

Reviews trailers per patch

15 of 22 patches have a Reviewed-by or Acked-by.

PatchPetr Rockai
1/14R-b
2/14R-b
2/14R-b
3/14R-b
3/14R-b
4/14R-b
4/14R-b
5/14R-b
5/14R-b
5/14R-b
6/14R-b
7/14R-b
7/14R-b
8/14
9/14R-b
9/14R-b
10/14
11/14
11/14
12/14
13/14
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/14] Add lvm lv properties and lvm2app interfaces for pv/vg/lv.

This patchset is adds lv properties for lvm2app, and adds the lvm2app interfaces and interactive tests to exercise the interface.

A few attributes require more complex refactoring and are thus still missing:
1. readahead: lv_read_ahead, lv_kernel_read_ahead
2. percents: snap_percent and copy_percent

All vg and pv properties and most lv properties may now be queried with this patchset.