Skip to content

libmpathpersist: cleanup ABI and headers

[email protected] dm-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5libmpathpersist: split public and internal APIlibmpathpersist/Makefile libmpathpersist/libmpathpersist.version libmpathpersist/mpath_persist.c +5 more+818 -7970 replies
2/5multipathd: remove duplicate definitions from main.hlibmpathpersist/mpath_persist_int.h multipathd/main.c multipathd/main.h+13 -150 replies
3/5libmpathpersist/multipathd: remove duplicate definitionlibmpathpersist/mpath_pr_ioctl.c multipathd/main.c+1 -30 replies
4/5libmpathpersist: remove __STDC_FORMAT_MACROSlibmpathpersist/mpath_persist_int.c+0 -10 replies
5/5libmpathpersist: cleanup mpathpr.hlibmpathpersist/mpath_persist_int.c libmpathpersist/mpathpr.h+18 -331 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.

PatchBenjamin Marzinski
SeriesR-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.

Read the v1 thread

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