Add lvm lv properties for lvm2app.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | Refactor and add code for (lv) 'lv_name' get function.lib/ lib/ lib/ | +7 | 0 replies | |
| 2/8 | Refactor and add code for (lv) 'lv_origin' get function.lib/ lib/ lib/ +1 more | +12 | 0 replies | |
| 3/8 | Add lv_read_ahead and lv_kernel_read_ahead 'get' functions.lib/ lib/ lib/ +1 more | +15 | 0 replies | |
| 4/8 | Rename fields in lvm_property_type.lib/ lib/ | +11 | 0 replies | |
| 5/8 | Add lvm_vg_get_property() generic vg property function.liblvm/ liblvm/ | +86 | 0 replies | |
| 6/8 | Add lvm_pv_get_property() generic function to obtain value of any pv property.liblvm/ liblvm/ | +66 | 0 replies | |
| 7/8 | Add lvm_lv_get_property() generic function to obtain value of any lv property.lib/ lib/ liblvm/ +1 more | +72 | 0 replies | |
| 8/8 | Add interactive tests for lvm_{pv|vg|lv}_get_property().test/ | +115 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/08] Add lvm lv properties for lvm2app.
This patchset adds remaining lv properties for lvm2app, and adds the lvm2app interfaces and interactive tests to exercise the interface.
Changes since last patchset:
1. Added readahead attributes (lv_read_ahead, lv_kernel_read_ahead)
2. Incorporated most all Petr and Kabi's feedback comments, including renaming of the fields, etc. I did not change the 'get' function prototype to return the property value rather than passing it in. I will do this as a second patchset.
3. Updated comments describing new APIs in lvm2app.h
The only two lv properties not included now are still the float/percent based properties, snap_percent and copy_percent. These should be refactored carefully and I did not want to delay these patches further.
All vg and pv properties and most lv properties may now be queried with this patchset.