Changes since V6: * Add new patch(1/4) to block SIGPIPE when write() in libmpathcmd. * Patch 2/4 does not have 'send_packet_daemon_only()' as SIGPIPE already handled by libmpathcmd.
Changes since V5: * Fix commit message typo of patch 1/3: 'EINVA vs EINVAL' and 'dedicate vs dedicated' * Use $(LN) and $(RM) in Makefile in patch 3/3. * Rebased to current master(c9aef428b1b16b8128c9fbed1cdefe30bed4ac6f). Changes since V4: * Remove the unused constant incorrectly added to libmpathcmd in V3. * The patch 3/3 could also be found in below link if dm-devel mailing list discard that patch again: https://github.com/cathay4t/multipath-tools/commit/b992056a447b90251a65aa4919055c70aa62a498.patch Changes since V3: * New way to limit the IPC command length. * Treat IPC connection refuse error as DMMP_ERR_NO_DAEMON. Gris Ge (4): libmpathcmd: Block SIGPIPE when write() multipath-tools: New way to limit the IPC command length. multipath-tools: Set errno mpath_recv_reply() when failure multipath-tools: Introducing multipath C API .gitignore | 4 + Makefile | 1 + Makefile.inc | 3 + libdmmp/DEV_NOTES | 41 + libdmmp/Makefile | 78 + libdmmp/docs/kernel-doc | 2971 +++++++++++++++++++++++++++++++++ libdmmp/docs/libdmmp.h.3 | 113 ++ libdmmp/docs/split-man.pl | 41 + libdmmp/libdmmp.c | 286 ++++ libdmmp/libdmmp.pc.in | 9 + libdmmp/libdmmp/libdmmp.h | 607 +++++++ libdmmp/libdmmp_misc.c | 87 + libdmmp/libdmmp_mp.c | 150 ++ libdmmp/libdmmp_path.c | 115 ++ libdmmp/libdmmp_pg.c | 208 +++ libdmmp/libdmmp_private.h | 208 +++ libdmmp/test/Makefile | 30 + libdmmp/test/libdmmp_speed_test.c | 49 + libdmmp/test/libdmmp_test.c | 144 ++ libmpathcmd/mpath_cmd.c | 24 +- libmpathcmd/mpath_cmd.h | 2 - libmpathpersist/mpath_updatepr.c | 8 +- libmultipath/Makefile | 2 +- libmultipath/alias.c | 1 - libmultipath/configure.c | 5 +- libmultipath/file.c | 24 +- libmultipath/file.h | 1 + libmultipath/uxsock.h | 6 - libmultipath/wwids.c | 1 - multipath/main.c | 1 - multipathd/Makefile | 2 +- multipathd/uxclnt.c | 16 +- multipathd/uxlsnr.c | 10 +- {libmultipath => multipathd}/uxsock.c | 89 +- multipathd/uxsock.h | 8 + 35 files changed, 5218 insertions(+), 127 deletions(-) create mode 100644 libdmmp/DEV_NOTES create mode 100644 libdmmp/Makefile create mode 100644 libdmmp/docs/kernel-doc create mode 100644 libdmmp/docs/libdmmp.h.3 create mode 100644 libdmmp/docs/split-man.pl create mode 100644 libdmmp/libdmmp.c create mode 100644 libdmmp/libdmmp.pc.in create mode 100644 libdmmp/libdmmp/libdmmp.h create mode 100644 libdmmp/libdmmp_misc.c create mode 100644 libdmmp/libdmmp_mp.c create mode 100644 libdmmp/libdmmp_path.c create mode 100644 libdmmp/libdmmp_pg.c create mode 100644 libdmmp/libdmmp_private.h create mode 100644 libdmmp/test/Makefile create mode 100644 libdmmp/test/libdmmp_speed_test.c create mode 100644 libdmmp/test/libdmmp_test.c delete mode 100644 libmultipath/uxsock.h rename {libmultipath => multipathd}/uxsock.c (57%) create mode 100644 multipathd/uxsock.h -- 2.9.2 -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel