[M] Change in ...nfs-ganesha[next]: scripts: Clean up ganesha_mgr help
by Martin Schwenke (GerritHub)
Martin Schwenke has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1215437?usp=email )
Change subject: scripts: Clean up ganesha_mgr help
......................................................................
scripts: Clean up ganesha_mgr help
Use a multiline f-string to neaten the usage message.
Add a couple of functions to print help messages and exit. Use them
to reduce duplication and increase consistency of both the content of
error messages and the code that produces them.
Consistently print the name of the actual script being run.
Signed-off-by: Martin Schwenke <mschwenke(a)ddn.com>
Change-Id: I9da99cf52e37e496f45578c2a18cb1226a066ae2
---
M src/scripts/ganeshactl/ganesha_mgr.py
1 file changed, 95 insertions(+), 124 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/37/1215437/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1215437?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I9da99cf52e37e496f45578c2a18cb1226a066ae2
Gerrit-Change-Number: 1215437
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Schwenke <martin(a)meltin.net>
1 month, 2 weeks
Announce Push of V7-dev.14
by Frank Filz
Branch next
Tag:V7-dev.14
Merge Highlights
* idmapper/idmapper.c: Encode numeric ids when idmapping is disabled
* build/compile/startup fixes for monitoring
* CEPH: fix attr cache not work when disable ACL
Signed-off-by: Frank S. Filz <ffilzlnx(a)mindspring.com>
Contents:
66a850ea7 Frank S. Filz V7-dev.14
2b72daa74 wangshaohui.0512 CEPH: fix attr cache not work when disable ACL
4db9d44de Sachin Punadikar Monitoring: Do not dump core for socket errors
64d5706f0 Sachin Punadikar Fix compilation error for USE_MONITORING=OFF
60578c6a8 Kaleb S. KEITHLEY monitoring: monitoriing is always enabled by
default
dd5c8ab1e Kaleb S. KEITHLEY config: default to monitoring enabled
eb061a3f2 Lior Suliman idmapper/idmapper.c: Encode numeric ids when
idmapping is disabled
1 month, 2 weeks
[S] Change in ...nfs-ganesha[next]: Monitoring: Do not dump core for socket errors
by Sachin Punadikar (GerritHub)
Sachin Punadikar has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1215122?usp=email )
Change subject: Monitoring: Do not dump core for socket errors
......................................................................
Monitoring: Do not dump core for socket errors
At the start of Ganesha process, it starts listening on monitoring port.
As this is very beginning, it do not make any value add if it dumps core
(via abort) for any socket related error. Error messages are suficient
to describe the problem.
Change-Id: Iccd240372e70ffc02454ad16de24034682e2871f
Signed-off-by: Sachin Punadikar <sachin.punadikar(a)ibm.com>
---
M src/monitoring/prometheus_exposer.cc
1 file changed, 12 insertions(+), 10 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/22/1215122/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1215122?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Iccd240372e70ffc02454ad16de24034682e2871f
Gerrit-Change-Number: 1215122
Gerrit-PatchSet: 1
Gerrit-Owner: Sachin Punadikar <sachin.punadikar(a)ibm.com>
1 month, 2 weeks
[XS] Change in ...nfs-ganesha[next]: build: fix the build error with invalid preprocessing token
by vicente (GerritHub)
vicente has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1214855?usp=email )
Change subject: build: fix the build error with invalid preprocessing token
......................................................................
build: fix the build error with invalid preprocessing token
We encounter the following error during build
In file included from /nfs-ganesha/src/monitoring/include/prometheus_exposer.h:35,
from /nfs-ganesha/src/monitoring/prometheus_exposer.cc:37:
/nfs-ganesha/src/libntirpc/src/monitoring/include/monitoring.h:162:22: error: pasting "NOT_USED_" and "*" does not give a valid preprocessing token
162 | #define UNUSED_(arg) NOT_USED_##arg UNUSED_ATTR
| ^~~~~~~~~
/nfs-ganesha/src/libntirpc/src/monitoring/include/monitoring.h:161:21: note: in expansion of macro 'UNUSED_'
161 | #define UNUSED(...) UNUSED_(__VA_ARGS__)
| ^~~~~~~
/nfs-ganesha/src/monitoring/include/prometheus_exposer.h:105:44: note: in expansion of macro 'UNUSED'
105 | prometheus_exposer__start(const sockaddr_t UNUSED(*addr),
| ^~~~~~
The `NOT_USED_##arg` is invalidate with the pointer preprocessing.
We should move the pointer out of the macro likes libntirpc does.
Change-Id: Ieec01fd4957a2d6a65b02eb9a12c90abd15cb496
Signed-off-by: Vicente Cheng <vicente.cheng(a)suse.com>
---
M src/monitoring/include/prometheus_exposer.h
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/55/1214855/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1214855?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Ieec01fd4957a2d6a65b02eb9a12c90abd15cb496
Gerrit-Change-Number: 1214855
Gerrit-PatchSet: 1
Gerrit-Owner: vicente <freeze.bilsted(a)gmail.com>
1 month, 2 weeks