1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/misc
Zdenek Kabelac 797c18d543 libdm: new dm_task_get_info with internal_suspend
Introduce new implmentation of dm_task_get_info() function
with support for reading internal_suspend.
.
This time it is done in a 'versioned' way.

We keep the old fashion dm_task_get_info(Base) to implement
the old behavior of 1.02.95 libdm code.

libdm version 1.02.96 introduced 'macro' wrapper
dm_task_get_info_with_deferred_remove with new implementation
of dm_task_get_info() - we cannot do anything else then to
provide compatible version of this symbol.

Now in version 1.02.97 we add new versioned implementation of
dm_task_get_info(DM_1_02_97) symbol.

This has the effect that i.e. rpm build will finaly resolve proper
dependency on a new symbol - so it will be no longer possible,
to build a new binary and use old library
(rpm -q --provides will show libdevmapper.so.1.02(DM_1_02_97)(64bit))

Also the history is now tracked. If a new function is added (or
reimplemented), it needs to be placed in proper file,
so it could be exported with right versioning symbol.
File .exported_symbols.Base should and any existing older DM
should be treated as read-only after a release.

Also - only libdm has been currently enhanced with versioned .Base
file, as soon as other libs (liblvm, libdevmapper-event) needs changes
they should also get their exported symbol files - meanwhile
make.tmpl handles both cases.
2015-05-15 16:48:22 +02:00
..
.gitignore More .gitignore files for an in-source-tree build. 2012-06-08 16:34:43 +01:00
configure.h.in configure: use_lvmetad/polld configurable 2015-05-11 14:36:10 +02:00
crc_gen.c was renamed 2010-09-27 19:10:46 +00:00
crc.c Fix CRC32 calculation on big endian CPU 2011-02-08 12:41:08 +00:00
crc.h cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
intl.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
last-path-component.h cleaner const char* usage for last_path_component() 2008-11-12 09:53:33 +00:00
lib.h libdm: new dm_task_get_info with internal_suspend 2015-05-15 16:48:22 +02:00
lvm-exec.c exec_cmd: skip fork when argv[0] is null 2014-04-08 11:00:13 +02:00
lvm-exec.h exec: pipe open 2013-08-06 16:18:43 +02:00
lvm-file.c cleanup: drop unneeded header file 2015-05-08 15:15:10 +02:00
lvm-file.h lvm-file: wrapper to read ctim from stat 2015-03-18 13:42:24 +01:00
lvm-flock.c cleanup: avoid double assign 2014-08-19 14:33:06 +02:00
lvm-flock.h signals: Move sigint handling out to lvm-signal. 2014-05-01 20:07:17 +01:00
lvm-globals.c filters: add firmware RAID filter 2015-01-30 13:17:12 +01:00
lvm-globals.h filters: add firmware RAID filter 2015-01-30 13:17:12 +01:00
lvm-percent.c report: select: refactor: move percent handling code to libdm for reuse 2014-06-17 16:27:21 +02:00
lvm-percent.h report: select: refactor: move percent handling code to libdm for reuse 2014-06-17 16:27:21 +02:00
lvm-signal.c signals: better nesting support 2014-05-07 14:09:33 +02:00
lvm-signal.h signals: Add init_signals. 2014-05-01 20:31:19 +01:00
lvm-string.c systemid: Require alphanumeric 1st character. 2015-02-23 19:47:03 +00:00
lvm-string.h systemid: Require alphanumeric 1st character. 2015-02-23 19:47:03 +00:00
lvm-version.h.in Add an API version number, LVM_LIBAPI, to the VERSION string. 2009-07-22 20:01:28 +00:00
lvm-wrappers.c cleanup: drop inline keyword 2014-06-10 10:51:26 +02:00
lvm-wrappers.h cleanup: drop inline keyword 2014-06-10 10:51:26 +02:00
sharedlib.c cleanup: tiny speedup of lib_dir checking 2013-12-10 11:15:48 +01:00
sharedlib.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
timestamp.c Skip NULL check before dm_free 2011-01-28 10:16:04 +00:00
timestamp.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
util.h Newer gcc doesn't need this trick 2011-04-08 14:11:40 +00:00