libmpathpersist: cleanup ABI and headers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | libmpathpersist: split public and internal APIlibmpathpersist/ libmpathpersist/ libmpathpersist/ +5 more | +818 | 0 replies | |
| 2/5 | multipathd: remove duplicate definitions from main.hlibmpathpersist/ multipathd/ multipathd/ | +13 | 0 replies | |
| 3/5 | libmpathpersist/multipathd: remove duplicate definitionlibmpathpersist/ multipathd/ | +1 | 0 replies | |
| 4/5 | libmpathpersist: remove __STDC_FORMAT_MACROSlibmpathpersist/ | +0 | 0 replies | |
| 5/5 | libmpathpersist: cleanup mpathpr.hlibmpathpersist/ libmpathpersist/ | +18 | 1 reply |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Benjamin Marzinski |
|---|---|
| Series | R-b |
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [dm-devel] [PATCH 0/5] libmpathpersist: cleanup ABI and headers
From: Martin Wilck <[email protected]>
Hi Christophe, hi Ben,
when reviewing Ben's last patch set, I noticed that the change of struct multipath would formally change the ABI of libmpathpersist, even though the public API as defined by mpath_persist.h doesn't reference this struct.
This set cleans this up by splitting the libmpathpersist code into a public part, a semi-private part (used by other multipath-tools components) and a private part (used by libmpathpersist alone). In the future, the abi check tools will detect an ABI change in cases like this, but it'll be easy to check whether the public or private part of the ABI is affected.
A minor version bump of the libmpathpersist version is required to reflect the fact that symbols have been removed from the LIBMPATHPERSIST versioned ABI.
The set also contains some other minor header file cleanups. No actual code flow is changed, only code shuffled around.
Regards
Martin
Martin Wilck (5):
libmpathpersist: split public and internal API
multipathd: remove duplicate definitions from main.h libmpathpersist/multipathd: remove duplicate definition
libmpathpersist: remove __STDC_FORMAT_MACROS
libmpathpersist: cleanup mpathpr.h
libmpathpersist/Makefile | 2 +- libmpathpersist/libmpathpersist.version | 27 +- libmpathpersist/mpath_persist.c | 776 +---------------------- libmpathpersist/mpath_persist_int.c | 792 ++++++++++++++++++++++++ libmpathpersist/mpath_persist_int.h | 25 + libmpathpersist/mpath_pr_ioctl.c | 3 +- libmpathpersist/mpathpr.h | 49 +- mpathpersist/main.c | 1 + multipathd/main.c | 5 +- multipathd/main.h | 15 +- 10 files changed, 848 insertions(+), 847 deletions(-) create mode 100644 libmpathpersist/mpath_persist_int.c create mode 100644 libmpathpersist/mpath_persist_int.h
Signature · 7 lines
2.34.1 -- dm-devel mailing list [email protected] https://listman.redhat.com/mailman/listinfo/dm-devel