master - libdm: Move status fns from deptree to targets.
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=0173c260d8270465f1895044b34609008962cc00 Commit: 0173c260d8270465f1895044b34609008962cc00 Parent: 9d815e5f5a17963a09b103177770e9af80c90e0f Author: Alasdair G Kergon <[email protected]> AuthorDate: Mon Sep 28 20:28:31 2015 +0100 Committer: Alasdair G Kergon <[email protected]> CommitterDate: Mon Sep 28 20:28:31 2015 +0100
libdm: Move status fns from deptree to targets.
libdm-deptree is only for functions working with dm tree nodes.
--- WHATS_NEW_DM | 1 + libdm/Makefile.in | 9 +- libdm/libdm-common.h | 2 + libdm/libdm-deptree.c | 344 +----------------------------------------------- libdm/libdm-targets.c | 357 +++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 366 insertions(+), 347 deletions(-)
WHATS_NEW_DM +1 -0
@@ -1,5 +1,6 @@ Version 1.02.110 - ====================================== + Move target status functions out of libdm-deptree. Correct use of max_write_behind parameter when generating raid target line. Fix dm-event systemd service to make sure it is executed before mounting.
libdm/Makefile.in +5 -4
@@ -21,13 +21,14 @@ SOURCES =\ datastruct/hash.c \ datastruct/list.c \ libdm-common.c \ - libdm-file.c \ + libdm-config.c \ libdm-deptree.c \ - libdm-string.c \ + libdm-file.c \ libdm-report.c \ - libdm-timestamp.c \ libdm-stats.c \ - libdm-config.c \ + libdm-string.c \ + libdm-targets.c \ + libdm-timestamp.c \ mm/dbg_malloc.c \ mm/pool.c \ regex/matcher.c \
libdm/libdm-common.h +2 -0
@@ -51,4 +51,6 @@ void selinux_release(void);void inc_suspended (void );void dec_suspended (void ); +int parse_thin_pool_status (const char *params,struct dm_status_thin_pool *s); +#endif
libdm/libdm-deptree.c +1 -343
380 lines not on this page · raw message
libdm/libdm-targets.c new file +357 -0
357 lines not on this page · raw message