Skip to content

Use xlog() for statd/sm-notify syslogging

Chuck Lever linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2statd: Replace note() with xlog() in rpc.statdsupport/include/ha-callout.h utils/statd/Makefile.am utils/statd/callback.c +12 more+118 -2760 replies
2/2statd: Replace nsm_log() with xlog() in sm-notify commandutils/statd/Makefile.am utils/statd/sm-notify.c utils/statd/sm-notify.man+67 -1050 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Use xlog() for statd/sm-notify syslogging

Steve -

As requested, here are the two patches that convert statd and sm-notify to use the nfs-utils' xlog() facility, replacing local variants.

---

Chuck Lever (2):
statd: Replace nsm_log() with xlog() in sm-notify command
statd: Replace note() with xlog() in rpc.statd

 support/include/ha-callout.h |    4 -
 utils/statd/Makefile.am      |    7 +-
 utils/statd/callback.c       |    4 +
 utils/statd/log.c            |   95 ------------------------
 utils/statd/log.h            |   42 -----------
 utils/statd/misc.c           |   12 +--
 utils/statd/monitor.c        |   47 ++++++------
 utils/statd/rmtcall.c        |   36 ++++-----
 utils/statd/simu.c           |   10 ++-
 utils/statd/simulate.c       |   52 +++++++------
 utils/statd/sm-notify.c      |  163 ++++++++++++++++--------------------------
 utils/statd/sm-notify.man    |    6 --
 utils/statd/stat.c           |    8 +-
 utils/statd/statd.c          |   57 +++++++--------
 utils/statd/statd.h          |    9 --
 utils/statd/svc_run.c        |    7 +-
 utils/statd/version.h        |    7 --
 17 files changed, 185 insertions(+), 381 deletions(-)
 delete mode 100644 utils/statd/log.c
 delete mode 100644 utils/statd/log.h
 delete mode 100644 utils/statd/version.h
Signature · 1 line
Chuck Lever <[email protected]>