Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cleanup: uint64_t casts | Zdenek Kabelac | 2012-08-23 | 1 | -1/+1 |
| | |||||
* | Move lvmcache data structures behind an API (making the structures private to | Petr Rockai | 2012-02-10 | 1 | -73/+103 |
| | | | | lvmcache.c). No functional change. | ||||
* | Use new dev_open_readonly fn to prevent opening devices for read-write when ↵ | Peter Rajnoha | 2011-05-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | not necessary. Before, we used vg_write_lock_held call to determnine the way a device is opened. Unfortunately, this opened many devices in RW mode when it was not really necessary. With the OPTIONS+="watch" rule used in the udev rules, this could fire numerous events while closing such devices (and it caused useless scans from within udev rules in return). A common bug we hit with this was with the lvremove command which was unable to remove the LV since it was being opened from within the udev rules. This patch should minimize such situations (at least with respect to LVM handling of devices). Though there's still a possibility someone will open a device 'outside' in parallel and fire the event based on the watch rule when closing a device once opened for RW. | ||||
* | Add internal error if pointer is uninitialized | Zdenek Kabelac | 2010-12-20 | 1 | -0/+5 |
| | | | | | Add simple check for existance of 'pl' and printer internal error message if device is missing instead of plain crash. | ||||
* | Use __attribute__ consistently throughout. | Alasdair Kergon | 2010-07-09 | 1 | -5/+5 |
| | |||||
* | Recognise DRBD device part and handle it similar to MD devices. | Milan Broz | 2009-10-27 | 1 | -3/+4 |
| | | | | | | | | | | | | | The DRBD uses underlying device so code should prefer top device if duplicate is found. Patch also introduce dev_subsystem_part_major and dev_subsytem_name functions to easily handle all these replication susbystems and not hardcode md_major call. See https://bugzilla.redhat.com/show_bug.cgi?id=530881 for full problem description. | ||||
* | more fixes | Alasdair Kergon | 2008-11-04 | 1 | -1/+2 |
| | |||||
* | Right, a simple build (without options) is working again. | Alasdair Kergon | 2008-11-03 | 1 | -10/+10 |
| | |||||
* | Some whitespace tidy-ups. | Alasdair Kergon | 2008-01-30 | 1 | -1/+1 |
| | |||||
* | Use stack return macros throughout. | Alasdair Kergon | 2008-01-30 | 1 | -20/+10 |
| | |||||
* | Clean up numerous compiler warnings that crept in recently. | Alasdair Kergon | 2007-08-22 | 1 | -2/+2 |
| | | | | Remove several unused parameters from _allocate(). | ||||
* | Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. | Alasdair Kergon | 2007-08-20 | 1 | -3/+3 |
| | |||||
* | Adjust some alignments for ia64 and sparc. | Alasdair Kergon | 2006-11-30 | 1 | -5/+5 |
| | | | | (Some of the changes are probably unnecessary.) | ||||
* | Make SIZE_SHORT the default for display_size(). | Alasdair Kergon | 2006-05-09 | 1 | -1/+1 |
| | | | | | | | Fix some memory leaks in error paths found by coverity. Use C99 struct initialisers. Move DEFS into configure.h. Clean-ups to remove miscellaneous compiler warnings. | ||||
* | If two or more VGs are found with the same name, use one that is not exported. | Alasdair Kergon | 2006-04-12 | 1 | -1/+1 |
| | |||||
* | When scanning, also record whether or not VG is exported. | Alasdair Kergon | 2006-04-11 | 1 | -1/+1 |
| | |||||
* | Use hash, bitset, malloc, pool from libdevmapper. | Alasdair Kergon | 2005-10-16 | 1 | -12/+10 |
| | |||||
* | preset pl to NULL | Alasdair Kergon | 2005-06-14 | 1 | -1/+1 |
| | |||||
* | Basic support for mirrors. | Alasdair Kergon | 2005-06-01 | 1 | -16/+10 |
| | |||||
* | pool debugging | Alasdair Kergon | 2004-11-23 | 1 | -1/+1 |
| | |||||
* | Add read-only GFS pool support. | Alasdair Kergon | 2004-06-07 | 1 | -0/+385 |