[S] Change in ...nfs-ganesha[next]: CEPH: Support ceph client per export
by Sachin Punadikar (GerritHub)
Sachin Punadikar has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1242769?usp=email )
Change subject: CEPH: Support ceph client per export
......................................................................
CEPH: Support ceph client per export
For every NFS export for CEPH FSAL, a ceph client should be started.
This will help in improving scalability/performance of Ganesha.
Change-Id: I2f2c200904c1703300bfffa8336e198b7d846dce
Signed-off-by: Sachin Punadikar <sachin.punadikar(a)ibm.com>
---
M src/FSAL/FSAL_CEPH/internal.h
M src/FSAL/FSAL_CEPH/main.c
M src/doc/man/ganesha-ceph-config.rst
3 files changed, 20 insertions(+), 3 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/69/1242769/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1242769?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: I2f2c200904c1703300bfffa8336e198b7d846dce
Gerrit-Change-Number: 1242769
Gerrit-PatchSet: 1
Gerrit-Owner: Sachin Punadikar <sachin.punadikar(a)ibm.com>
1 hour, 45 minutes
[M] Change in ...nfs-ganesha[next]: Use setfsgid/setfsuid instead of setresgid/setresuid
by Name of user not set (GerritHub)
amit.sutar(a)ibm.com has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1242753?usp=email )
Change subject: Use setfsgid/setfsuid instead of setresgid/setresuid
......................................................................
Use setfsgid/setfsuid instead of setresgid/setresuid
2.7 code uses setresgid()/setresuid() to change effective gid/uid.
But this is not working as of now as uid is not changing with
setresuid().
Temporary fix: Use setfsgid()/setfsuid() instead of setresgid/setresuid()
in the way it is used in 2.5. Will revert it when we have a fix to
use setresuid() to change uid.
Change-Id: Icff0a50e168a02487885273e2c59f303d4634ae3
Signed-off-by: Madhu Thorat <madhu.punjabi(a)in.ibm.com>
(cherry picked from commit 41749b2e5ad50d1e5f94366ae61809f180e849d6)
(cherry picked from commit 229091ee8947a308faa0f957cfab90ab1a33e586)
(cherry picked from commit 29f470304d50728ef9a5560ec89eccd496551016)
---
M src/FSAL/access_check.c
M src/include/os/subr.h
M src/os/freebsd/subr.c
M src/os/linux/subr.c
4 files changed, 30 insertions(+), 22 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/53/1242753/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1242753?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: Icff0a50e168a02487885273e2c59f303d4634ae3
Gerrit-Change-Number: 1242753
Gerrit-PatchSet: 1
Gerrit-Owner: amit.sutar(a)ibm.com
Gerrit-CC: Madhu Thorat <madhu.punjabi(a)in.ibm.com>
2 hours, 48 minutes
Announce Push of V12.0
by Frank Filz
Branch next
Tag:V12.0
Feature Highlights
* Expanding gRPC feature with stats collection and several other ports from
DBUS
Merge Highlights
* FSAL_GPFS: Handle ETIMEDOUT in GPFSFSAL_UP_Thread
* log: reset conditional logging state on config reload
* gcc 14: fix uninitialized variables
* CEPH: Support additional config options for client_oc
* MDCACHE: take parent content_lock only when adding a dirent
* Add bcond support for INTERNAL_STATD and fixed compilation errors
* Preserve old ACLS
* Issue 1347: Add PTHREAD_PRIO_INHERIT support
Signed-off-by: Frank S. Filz <ffilzlnx(a)mindspring.com>
Contents:
8e157ac8d Frank S. Filz V12.0
c6d3bf59b Frank S. Filz Issue 1347: Add PTHREAD_PRIO_INHERIT support
82a89a27a Sachin Punadikar Preserve old ACLS
c4d19bc3e AvaniRateria D-BUS to gRPC Conversion
01506cbf8 Yogendra Charya Tangalapally Add bcond support for INTERNAL_STATD
and fixed compilation errors
3a936105a Suhas Athani gRPC: Add gRPC client I/O show stats APIs for NFS
v3/v4.x
383445f72 xueqian.hu MDCACHE: take parent content_lock only when adding a
dirent
2301fb30d Sachin Punadikar CEPH: Support additional config options for
client_oc
f0fd80b13 Marcus Watts gcc 14: fix uninitialized variables
36aeb6cbe Nishant Puri log: reset conditional logging state on config reload
96ac51e7d Prabhu Murugesan FSAL_GPFS: Handle ETIMEDOUT in GPFSFSAL_UP_Thread
15 hours, 22 minutes
[M] Change in ...nfs-ganesha[next]: Truncking: Added a small POC for Trunking concept.
by Name of user not set (GerritHub)
sragraha(a)redhat.com has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1242632?usp=email )
Change subject: Truncking: Added a small POC for Trunking concept.
......................................................................
Truncking: Added a small POC for Trunking concept.
Here in ganesha.conf we are adding FS_LOCATION {}
sublock of EXPOTR {}. Now If the client asks for
fs_location attributes then server fetches the attr
from gsh_export and copy them into the response attributes
Change-Id: Ie3f8c4ce5e66e6d34297f4f5ba5436ae6ecb2b32
Signed-off-by: Sreedhar Agraharam <sragraha(a)redhat.com>
---
M src/Protocols/NFS/nfs_proto_tools.c
M src/include/export_mgr.h
M src/include/gsh_config.h
M src/support/exports.c
M src/support/nfs_read_conf.c
5 files changed, 110 insertions(+), 4 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/32/1242632/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1242632?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: Ie3f8c4ce5e66e6d34297f4f5ba5436ae6ecb2b32
Gerrit-Change-Number: 1242632
Gerrit-PatchSet: 1
Gerrit-Owner: sragraha(a)redhat.com
23 hours, 27 minutes
[XL] Change in ...nfs-ganesha[next]: gRPC: Add gRPC clientstats APIs for layouts, delegations, IOops, allo...
by Suhas Athani (GerritHub)
Suhas Athani has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1242549?usp=email )
Change subject: gRPC: Add gRPC clientstats APIs for layouts, delegations, IOops, allops, and 9P
......................................................................
gRPC: Add gRPC clientstats APIs for layouts, delegations, IOops, allops, and 9P
- Extend `cltmgrService.ClientStats` with the remaining
`org.ganesha.nfsd.clientstats` D-Bus methods beyond
per-version I/O:
GetNFSv41Layouts
GetNFSv42Layouts
GetDelegations
GetClientIOops
GetClientAllops
Get9pIO
Get9pTrans
Get9pOpStats
- Add shared protobuf types in `nfsProtoUtil.proto` and
C/C++ bridge structs in `server_stats_grpc.h`, with
extraction in `server_stats.c` and client lookup /
orchestration in `client_mgr.c`.
- Wire handlers in `nfsServiceServer.cc` using the
existing `ClientStatsService` registration; errors
stay in `StatusResponse` with transport `OK`, matching
D-Bus semantics.
Change-Id: I491ede619ba6c0da03476f66c0d919b89f4e951b
Signed-off-by: Suhas Athani <Suhas.Athani(a)ibm.com>
---
M src/grpc_server/nfsService.h
M src/grpc_server/nfsServiceServer.cc
M src/grpc_server/proto/cltmgrService.proto
M src/grpc_server/proto/nfsProtoUtil.proto
M src/include/server_stats_grpc.h
M src/support/client_mgr.c
M src/support/server_stats.c
7 files changed, 1,631 insertions(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/49/1242549/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1242549?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: I491ede619ba6c0da03476f66c0d919b89f4e951b
Gerrit-Change-Number: 1242549
Gerrit-PatchSet: 1
Gerrit-Owner: Suhas Athani <Suhas.Athani(a)ibm.com>
1 day, 5 hours
[L] Change in ...nfs-ganesha[next]: gRPC: gRPC export I/O show stats APIs
by Name of user not set (GerritHub)
Vidya.Thumukunta(a)ibm.com has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1242430?usp=email )
Change subject: gRPC: gRPC export I/O show stats APIs
......................................................................
gRPC: gRPC export I/O show stats APIs
Added the Export Statistics gRPC APIs by converting the
corresponding D-Bus interfaces:
- GetNFSv3IO
- GetNFSv40IO
- GetNFSv41IO
- GetNFSv42IO
- GetNFSMonIO
- GetTotalOPS
- GetNFSIO
- GetGlobalOPS
The implementation reuses the existing server statistics collection
logic and exposes the export and global statistics through the gRPC
ExportStats service.
Change-Id: Ia237e8bcfe5e00d37cdaf3f9667c35adf1c95743
Signed-off-by: VidyaThumukunta <vidya.thumukunta(a)ibm.com>
---
M src/grpc_server/GrpcServer.cc
M src/grpc_server/GrpcServer.h
M src/grpc_server/nfsService.h
M src/grpc_server/nfsServiceServer.cc
A src/grpc_server/proto/exportService.proto
M src/grpc_server/proto/nfsProtoUtil.proto
M src/include/server_stats_grpc.h
M src/support/export_mgr.c
M src/support/server_stats.c
9 files changed, 864 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/30/1242430/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1242430?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: Ia237e8bcfe5e00d37cdaf3f9667c35adf1c95743
Gerrit-Change-Number: 1242430
Gerrit-PatchSet: 1
Gerrit-Owner: Vidya.Thumukunta(a)ibm.com
3 days
[S] Change in ...nfs-ganesha[next]: Issue 1347: Add PTHREAD_PRIO_INHERIT support
by Animesh Javali (GerritHub)
Animesh Javali has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1242400?usp=email )
Change subject: Issue 1347: Add PTHREAD_PRIO_INHERIT support
......................................................................
Issue 1347: Add PTHREAD_PRIO_INHERIT support
Add an optional compile-time configuration to
initialize Ganesha's default mutex attributes
with the PTHREAD_PRIO_INHERIT protocol.
When USE_PRIO_INHERIT is enabled, the default
mutex attribute is configured using
pthread_mutexattr_setprotocol() before mutex
initialization.
This USE_PRIO_INHERIT compile flag is disabled
by default.
Change-Id: I47424d4b3d8378b83a5ee9a2767fbc5c531d649b
Signed-off-by: Animesh Javali <Animesh.Javali(a)ibm.com>
---
M src/CMakeLists.txt
M src/MainNFSD/nfs_init.c
M src/include/config-h.in.cmake
M src/nfs-ganesha.spec-in.cmake
4 files changed, 16 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/00/1242400/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1242400?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: I47424d4b3d8378b83a5ee9a2767fbc5c531d649b
Gerrit-Change-Number: 1242400
Gerrit-PatchSet: 1
Gerrit-Owner: Animesh Javali <Animesh.Javali(a)ibm.com>
3 days, 20 hours
[S] Change in ...nfs-ganesha[next]: Preserve old ACLS
by Name of user not set (GerritHub)
amit.sutar(a)ibm.com has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1242334?usp=email )
Change subject: Preserve old ACLS
......................................................................
Preserve old ACLS
"fsal_copy_attrs" function copies the ACLs based on the request mask.
In case of retaining old ACLs, we have to explicitely set the mask so
that old ACLs are preserved. And later we have to unset the mask to
avoid updating acl_time in case of preserving the old ones.
Signed-off-by: Sachin Punadikar <psachin(a)in.ibm.com>
Change-Id: Ib45bd2004d93b9bc945c1cb3724f8c574a5c37a0
Signed-off-by: Amit Sutar <Amit.sutar(a)ibm.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c
1 file changed, 14 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/34/1242334/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1242334?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: Ib45bd2004d93b9bc945c1cb3724f8c574a5c37a0
Gerrit-Change-Number: 1242334
Gerrit-PatchSet: 1
Gerrit-Owner: amit.sutar(a)ibm.com
3 days, 22 hours
[M] Change in ...nfs-ganesha[next]: Config: make several NFS_CORE_PARAM parameters dynamic
by Frank Filz (GerritHub)
Frank Filz has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1242249?usp=email )
Change subject: Config: make several NFS_CORE_PARAM parameters dynamic
......................................................................
Config: make several NFS_CORE_PARAM parameters dynamic
Possible List:
HAProxy_Hosts
Cluster_Members
RPC_Max_Connections
RPC_Idle_Timeout_S
RPC_Max_RDMA_Connections
RPC_Ioq_ThrdMin
RPC_Ioq_ThrdMax
RPC_GSS_Max_Ctx
RPC_GSS_Max_GC
Not Possible List:
MaxRPCSendBufferSize
MaxRPCRecvBufferSize
MaxRPCRdmaCredits
RPC_GSS_Npart
ntirpc parameters that could be updated but Ganesha can't do:
max_events - Ganesha uses constant
ioq_send_max - Ganesha also uses this in a way that can't be updated
Change-Id: I235baa36a7a9a8a52383d3ea6b7332043ed67cb4
Signed-off-by: Frank S. Filz <ffilzlnx(a)mindspring.com>
---
M src/MainNFSD/nfs_init.c
M src/MainNFSD/nfs_rpc_dispatcher_thread.c
M src/Protocols/NLM/nsm.c
M src/config_samples/config.txt
M src/doc/man/ganesha-core-config.rst
M src/include/gsh_config.h
M src/include/nfs_core.h
M src/support/client_mgr.c
M src/support/nfs_read_conf.c
9 files changed, 194 insertions(+), 38 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/49/1242249/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1242249?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: I235baa36a7a9a8a52383d3ea6b7332043ed67cb4
Gerrit-Change-Number: 1242249
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx(a)mindspring.com>
4 days, 14 hours