Use xlog() for statd/sm-notify syslogging
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | statd: Replace note() with xlog() in rpc.statdsupport/ utils/ utils/ +12 more | +118 | 0 replies | |
| 2/2 | statd: Replace nsm_log() with xlog() in sm-notify commandutils/ utils/ utils/ | +67 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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]>