Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Never try to test character past given buffer | Zdenek Kabelac | 2012-02-13 | 1 | -1/+1 |
| | | | | In case units[0] would be already '\0', do not check units[1]. | ||||
* | pre-release | Alasdair Kergon | 2012-01-26 | 1 | -6/+6 |
| | |||||
* | & -> && | Alasdair Kergon | 2012-01-25 | 1 | -1/+1 |
| | |||||
* | Use chunk_size consistently for thin_pool within LVM. | Alasdair Kergon | 2012-01-24 | 1 | -1/+1 |
| | |||||
* | Update lvdisplay to show more info about thin LVs | Zdenek Kabelac | 2012-01-20 | 1 | -23/+76 |
| | | | | | | | Reformat name and path how the LV is represented with lvm1 compatible option, to switch to the old way - which had number of problem - i.e. many links do not exist - since for private devices we are not creating them. Add more info about thin pools and volumes. | ||||
* | Thin rename seg var pool_metadata_lv to metadata_lv | Zdenek Kabelac | 2012-01-19 | 1 | -1/+1 |
| | | | | Better fits the code. | ||||
* | Show read-only activation in display tools. | Alasdair Kergon | 2012-01-12 | 1 | -3/+11 |
| | |||||
* | Move y/n prompts to stderr and repeat if response has both 'n' and 'y'. | Alasdair Kergon | 2011-11-23 | 1 | -5/+11 |
| | | | | | (Note that in a future release we might make this stricter and insist on exactly 'y' or 'n'.) | ||||
* | Use capital letters | Zdenek Kabelac | 2011-10-04 | 1 | -2/+2 |
| | |||||
* | Display transaction_id for thin_pool | Zdenek Kabelac | 2011-10-03 | 1 | -0/+3 |
| | |||||
* | typo | Alasdair Kergon | 2011-09-27 | 1 | -1/+1 |
| | |||||
* | Show some Thin related info in lvdisplay | Zdenek Kabelac | 2011-09-26 | 1 | -0/+12 |
| | |||||
* | Fix some compile warnings on RHEL5 | Milan Broz | 2011-03-01 | 2 | -2/+2 |
| | | | | | | - returned char not needed to be explicitly const - warn if pipe() fails in clvmd (more fixes here needed for error paths...) - assign (and ignore) read() output in drain buffer | ||||
* | Handle decimal digits with --units instead of ignoring them silently. | Alasdair Kergon | 2011-02-18 | 1 | -20/+29 |
| | | | | Fix remaining warnings and compile with -Wpointer-arith. | ||||
* | Refactor the percent (mirror sync, snapshot usage) handling code to use | Petr Rockai | 2010-11-30 | 1 | -9/+7 |
| | | | | fixed-point values instead of a combination of a float value and an enum. | ||||
* | Extend cling allocation policy to recognise PV tags (cling_by_tags). | Alasdair Kergon | 2010-11-09 | 1 | -2/+7 |
| | | | | Add allocation/cling_tag_list to lvm.conf. | ||||
* | pre-release | Alasdair Kergon | 2010-10-25 | 2 | -5/+18 |
| | |||||
* | Allow internal suspend and resume of origin without its snapshots. | Alasdair Kergon | 2010-08-17 | 1 | -2/+2 |
| | |||||
* | Use __attribute__ consistently throughout. | Alasdair Kergon | 2010-07-09 | 1 | -12/+12 |
| | |||||
* | Add printf format attributes to yes_no_prompt & dm_{sn,as}printf and fix a calle | Alasdair Kergon | 2010-07-02 | 1 | -1/+1 |
| | |||||
* | Use vg_mda_count() in vgdisplay. | Dave Wysochanski | 2010-06-28 | 1 | -1/+1 |
| | | | | Signed-off-by: Dave Wysochanski <dwysocha@redhat.com> | ||||
* | Cleanup returns for void functions. | Zdenek Kabelac | 2009-12-11 | 1 | -11/+0 |
| | |||||
* | Switch status from 32-bit to 64-bit | Mike Snitzer | 2009-11-24 | 1 | -3/+3 |
| | | | | | | | | | | | The physical_volume, volume_group, logical_volume and lv_segment structures' 'status' member is now uint64_t. The alignment of these structures was also audited to remove holes. The movement of some members in 'volume_group' and 'lv_segment' eliminates holes. The 'physical_volume' structure still has one 4-byte hole after 'pe_size'; the other structures no longer have any holes. Each structures' size has not changed. | ||||
* | Add fflush for the case the log is redirected to the buffered file. | Zdenek Kabelac | 2009-11-03 | 1 | -0/+1 |
| | | | | | Without this patch it have not been obvious, why the application waits on the stdin as the prompt might be still buffered in memory. | ||||
* | Permit snapshots of mirrors. (brassow) | Alasdair Kergon | 2009-10-26 | 1 | -1/+8 |
| | |||||
* | Introduce percent_range_t and centralise snapshot full/mirror in-sync checks. | Alasdair Kergon | 2009-10-01 | 1 | -6/+9 |
| | |||||
* | Distinguish between powers of 1000 and powers of 1024 in unit suffixes. | Alasdair Kergon | 2009-09-30 | 1 | -25/+96 |
| | |||||
* | Treat input units of both 's' and 'S' as 512-byte sectors. (2.02.49) | Alasdair Kergon | 2009-09-28 | 1 | -3/+1 |
| | | | | | 's' and 'S' are special suffixes representing sectors and are always 512 bytes, regardless of whether you're using powers of 1000 or 1024. | ||||
* | Add global/si_unit_consistency to enable cleaned-up use of units in output. | Alasdair Kergon | 2009-09-28 | 1 | -2/+7 |
| | | | | | | Add configure --enable-units-compat to set si_unit_consistency off by default. Use standard output units for 'PE Size' and 'Stripe size' in pv/lvdisplay. | ||||
* | Add vg_is_resizeable() and cleanup references. | Dave Wysochanski | 2009-09-15 | 1 | -1/+1 |
| | | | | | | | Clean up VG_RESIZEABLE flag by creating vg_is_resizeable(). Update comment - we no longer have ALLOW_RESIZEABLE. Also use vg_is_exported() in one place missed by earlier patch. Should be no functional change. | ||||
* | Use vg_is_exported(vg) macro everywhere. | Dave Wysochanski | 2009-09-14 | 1 | -1/+1 |
| | | | | | | | This patch is all just cleanup and no other patch depends on it. Replace explicit dereference and check with vg_is_exported(). Update a few copyrights and remove unnecessary whitespace. Should be no functional change. | ||||
* | Update display.c to use vg_free(vg) instead of duplicating the calculation. | Dave Wysochanski | 2009-07-27 | 1 | -4/+2 |
| | | | | Author: Dave Wysochanski <dwysocha@redhat.com> | ||||
* | Continue to make --units and --size consistent (in code and man pages): | Mike Snitzer | 2009-07-07 | 1 | -3/+6 |
| | | | | | | | | | | | | | | Update units_to_bytes() to support (S)ectors: 500 bytes. - 500 byte (S)ectors is of questionable value but it adds to consistency if a user happens to use --units S. This seems better than an error. Updated test/t-covercmd.sh to test --units [hS] Document the units that can be displayed via --units uniformly. - (p)etabytes and (e)xabytes were missing in pvs, vgs and lvs man pages. Made lvreduce man page "... in units of megabytes." consistent (with the lvextend and lvresize man pages). | ||||
* | Merge lv_is_displayable and lv_is_visible. | Milan Broz | 2009-05-13 | 1 | -2/+2 |
| | | | | | | | Displayable and visible is the same thing. volumes_count(vg) is now vg_visible_lvs() and always returns number of LVs from user perspective. | ||||
* | Added displayable_lvs_in_vg and lv_is_displayable functions to deal with | Peter Rajnoha | 2008-12-04 | 1 | -14/+2 |
| | | | | | the counts of visible LVs from user's perspective consistently throughout the code. | ||||
* | Fix uninitialised lv_count in vgdisplay -c | Alasdair Kergon | 2008-12-01 | 1 | -1/+1 |
| | |||||
* | Right, a simple build (without options) is working again. | Alasdair Kergon | 2008-11-03 | 1 | -9/+9 |
| | |||||
* | more tweaking to get things to compile - dmlib.h for log fns, list.h | Alasdair Kergon | 2008-11-03 | 1 | -12/+12 |
| | |||||
* | Improve the way VGs with PVs missing are handled so manual intervention | Alasdair Kergon | 2008-09-19 | 1 | -8/+2 |
| | | | | is required in fewer circumstances. (mornfall) | ||||
* | added const modifiers | Zdenek Kabelac | 2008-08-07 | 1 | -4/+4 |
| | | | | switched const char* to const char[] elements to save few relocation entries | ||||
* | fix 3rd copy | Alasdair Kergon | 2008-04-10 | 1 | -1/+1 |
| | |||||
* | Fix vgdisplay 'Cur LV' field to match lvdisplay output. | Alasdair Kergon | 2008-04-10 | 1 | -1/+14 |
| | | | | Fix lv_count report field to exclude hidden LVs. | ||||
* | Add vg_is_clustered() helper function. | Dave Wysochanski | 2008-04-10 | 1 | -1/+1 |
| | | | | Should be no functional change. | ||||
* | Add pvseg_is_allocated() for identifying a PV segment allocated to a LV. | Dave Wysochanski | 2008-03-26 | 1 | -1/+1 |
| | |||||
* | split orphan VG by format type | Alasdair Kergon | 2008-02-06 | 1 | -1/+2 |
| | |||||
* | Some whitespace tidy-ups. | Alasdair Kergon | 2008-01-30 | 1 | -1/+1 |
| | |||||
* | Use stack return macros throughout. | Alasdair Kergon | 2008-01-30 | 1 | -8/+4 |
| | |||||
* | readahead activation code (but no dm support yet) | Alasdair Kergon | 2007-11-12 | 1 | -3/+11 |
| | |||||
* | attempt to fix human-readable unit output when number of sectors is odd | Alasdair Kergon | 2007-11-05 | 1 | -5/+5 |
| | |||||
* | adjust sizes for metadata | Alasdair Kergon | 2007-11-05 | 1 | -7/+7 |
| |