[dm-devel] [PATCH V4 0/5] multipath-tools series: some cleanups and fixes

Zhiqiang Liu liuzhiqiang26 at huawei.com
Mon Aug 31 11:36:15 UTC 2020


When I learn and review the multipath-tools source code, I find
some cleanups and fixes.

V3->V4:
[PATCH V4 2/5] multipathd: use daemon_status_msg to construct sd notify msg
in do_sd_notify func
-- put "STATUS=" in format string to avoid "prefix" var as suggested by
Martin.


V2->V3:
[PATCH V3 1/5] multipathd: adopt static char* arr in daemon_status
  - add default case in sd_notify_status to fix compile error
[PATCH V3 2/5] multipathd: use daemon_status_msg to construct sd notify
  - set MSG_SIZE to 32 and use safe_sprintf as suggested by Martin.

V1->V2:
- rewrite some patches as suggested by Martin.

repo: openSUSE/multipath-tools
repo link: https://github.com/openSUSE/multipath-tools
branch: upstream-queue

ZhiqiangLiu (2):
  multipathd: adopt static char* arr in daemon_status
  multipathd: use daemon_status_msg to construct sd notify msg in
    do_sd_notify func

 multipathd/main.c | 62 +++++++++++++++++++++--------------------------
 multipathd/main.h |  3 ++-
 2 files changed, 29 insertions(+), 36 deletions(-)

-- 
2.24.0.windows.2






More information about the dm-devel mailing list