[S] Change in ...nfs-ganesha[next]: Xcopy : ShortCopy support for COPY offload operation
by Name of user not set (GerritHub)
deeraj.patil(a)ibm.com has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1243041?usp=email )
Change subject: Xcopy : ShortCopy support for COPY offload operation
......................................................................
Xcopy : ShortCopy support for COPY offload operation
When the server is enabled with this option, server will only copy
copy_offload_chunk_size amount of data in a single operation and will
return NFS4_OK along with the actual number of bytes copied.
The client can then issue subsequent COPY requests for the
remaining byte range by advancing the source and destination offsets,
ensuring forward progress until the entire copy is completed.
This allows large COPY requests to be processed as a sequence of smaller
copy operations instead of requiring the entire transfer to complete in a
single request.
Change-Id: Ic159f7c5d965731954ab03c99da9ff93bb3d8e0b
Signed-off-by: Deeraj.Patil <Deeraj.Patil(a)ibm.com>
---
M src/Protocols/NFS/nfs4_op_copy.c
M src/config_samples/config.txt
M src/doc/man/ganesha-core-config.rst
M src/include/gsh_config.h
M src/support/nfs_read_conf.c
5 files changed, 14 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/41/1243041/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1243041?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: Ic159f7c5d965731954ab03c99da9ff93bb3d8e0b
Gerrit-Change-Number: 1243041
Gerrit-PatchSet: 1
Gerrit-Owner: deeraj.patil(a)ibm.com
2 months, 1 week
[S] Change in ...nfs-ganesha[next]: Used goption for RDMA compile time flags
by Rajesh Prasad (GerritHub)
Rajesh Prasad has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1243026?usp=email )
Change subject: Used goption for RDMA compile time flags
......................................................................
Used goption for RDMA compile time flags
USE_NFS_RDMA — Ganesha-level, converted to goption(). This is the single
authoritative knob users pass on the cmake command line.
USE_RPC_RDMA — libntirpc-level, kept as plain option(). Two modes:
Embedded build (Ganesha calls add_subdirectory(libntirpc)):
Ganesha propagates the already-resolved USE_NFS_RDMA value with
"CACHE BOOL … FORCE", overriding libntirpc's option() default
before libntirpc's CMakeLists.txt even runs. libntirpc never
needs goption semantics here; it simply sees ON or OFF.
Standalone build (cmake … /path/to/libntirpc):
The user passes -DUSE_RPC_RDMA=ON. libntirpc's plain option()
picks it up. find_package(RDMA REQUIRED) then hard-fails cmake
if the RDMA libraries are absent — the existing REQUIRED keyword
provides the fatal error without any goption machinery.
Change-Id: Ibca784315df620168fed43f0fbf7409369f8578a
Signed-off-by: Rajesh Prasad <raprasad(a)redhat.com>
---
M src/CMakeLists.txt
1 file changed, 14 insertions(+), 7 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/26/1243026/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1243026?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: Ibca784315df620168fed43f0fbf7409369f8578a
Gerrit-Change-Number: 1243026
Gerrit-PatchSet: 1
Gerrit-Owner: Rajesh Prasad <raprasad(a)redhat.com>
2 months, 1 week
[XS] Change in ...nfs-ganesha[next]: fixing name2id for when we get a numeric gid or uid in fattr4 like in...
by Michael Diederich (GerritHub)
Michael Diederich has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1242927?usp=email )
Change subject: fixing name2id for when we get a numeric gid or uid in fattr4 like in setattr so that - switch Allow_Numeric_Owners is honored by allowing atless2id to run first so we do not allow pam to interpret the numeric id as name - switch UseGetpwnam is honored before calling pwentname2id this allows to reject user/group names that do not carry the full name with at domain and allows to not depend on pam reject to use a numeric id.
......................................................................
fixing name2id for when we get a numeric gid or uid in fattr4 like in setattr so that
- switch Allow_Numeric_Owners is honored by allowing atless2id to run first so we do not allow pam to interpret the numeric id as name
- switch UseGetpwnam is honored before calling pwentname2id
this allows to reject user/group names that do not carry the full name with at domain and allows to not depend on pam reject to use a numeric id.
Change-Id: I9790dd9214cc0ced20c8edbd93525c678d2d1e26
Signed-off-by: Michael Diederich <diederich(a)de.ibm.com>
---
M src/idmapper/idmapper.c
1 file changed, 5 insertions(+), 3 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/27/1242927/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1242927?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: I9790dd9214cc0ced20c8edbd93525c678d2d1e26
Gerrit-Change-Number: 1242927
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Diederich <diederich(a)de.ibm.com>
2 months, 1 week
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
2 months, 1 week
[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>
2 months, 1 week
[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 months, 1 week
[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
2 months, 1 week
[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>
2 months, 1 week
[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
2 months, 2 weeks