NFS Ganesha List Archives
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

Devel

Thread Start a new thread
Download
Threads by month
  • ----- 2026 -----
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2021 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2020 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2019 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2018 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
devel@lists.nfs-ganesha.org

  • 2 participants
  • 3974 discussions
[XS] Change in ...nfs-ganesha[next]: NFSv4: Skip getattrs in nfs4_object_type when FSAL lacks named attrs
by ofir vainshtein (GerritHub) 18 Nov '26

18 Nov '26
ofir vainshtein has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1260418?usp=email ) Change subject: NFSv4: Skip getattrs in nfs4_object_type when FSAL lacks named attrs ...................................................................... NFSv4: Skip getattrs in nfs4_object_type when FSAL lacks named attrs Commit 6f6989c1fdae ("NFSv4: named attributes (OPENATTR) in the protocol and FSAL API") added nfs4_object_type(), which calls obj->obj_ops->getattrs(obj, ATTR_TYPE) because named attributes and their directories store REGULAR_FILE and DIRECTORY in obj->type while reporting EXTENDED_ATTR and ATTR_DIRECTORY via getattrs(). When the export does not support fso_named_attr (for example FSALs with named_attr = false), obj->type is always the true object type, and the extra getattrs() in CREATE, OPENATTR, and NVERIFY can trigger an unnecessary backend GETATTR (e.g. when Attr_Expiration_Time = 0). Return obj->type directly when the export does not support fso_named_attr. Change-Id: I15cf1d1160269e393ee59e1a4982034225d71cbe Signed-off-by: Ofir Vainshtein <ofirvins(a)google.com> --- M src/Protocols/NFS/nfs_proto_tools.c 1 file changed, 7 insertions(+), 0 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/18/1260418/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1260418?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: I15cf1d1160269e393ee59e1a4982034225d71cbe Gerrit-Change-Number: 1260418 Gerrit-PatchSet: 1 Gerrit-Owner: ofir vainshtein <ofirvins(a)google.com>
1 0
0 0
[XS] Change in ...nfs-ganesha[next]: grpc: Remove orphaned ExportOpStatsResponse from exportService.proto
by ofir vainshtein (GerritHub) 18 Nov '26

18 Nov '26
ofir vainshtein has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1260417?usp=email ) Change subject: grpc: Remove orphaned ExportOpStatsResponse from exportService.proto ...................................................................... grpc: Remove orphaned ExportOpStatsResponse from exportService.proto Commit 83c0658b4f19 ("Remove 9P support") removed the Get9pOpStats RPC and the nfsProtoUtil.OpStats message, but left ExportOpStatsResponse in exportService.proto still referencing the deleted nfsProtoUtil.OpStats type, breaking builds with -DUSE_GRPC=ON. Remove the unused ExportOpStatsResponse message. Change-Id: Ia47f70545191e4287acd373c6fbff5868e6e074d Signed-off-by: Ofir Vainshtein <ofirvins(a)google.com> --- M src/grpc_server/proto/exportService.proto 1 file changed, 0 insertions(+), 7 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/17/1260417/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1260417?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: Ia47f70545191e4287acd373c6fbff5868e6e074d Gerrit-Change-Number: 1260417 Gerrit-PatchSet: 1 Gerrit-Owner: ofir vainshtein <ofirvins(a)google.com>
1 0
0 0
[XS] Change in ...nfs-ganesha[next]: monitoring: Guard per-export metrics behind Enable_Dynamic_Metrics
by ofir vainshtein (GerritHub) 18 Nov '26

18 Nov '26
ofir vainshtein has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1260416?usp=email ) Change subject: monitoring: Guard per-export metrics behind Enable_Dynamic_Metrics ...................................................................... monitoring: Guard per-export metrics behind Enable_Dynamic_Metrics Commit 898d398a3e9b ("Fix: skip Prometheus inode metrics when FSAL reports unsupported values (CephFS)") moved update_export_mem() out of the enable_dynamic_metrics check in PrometheusExposer::server_thread(). When Enable_Metrics = true and Enable_Dynamic_Metrics = false, dynamic_metrics is never initialized, so scraping /metrics calls update_export_mem() -> dynamic_metrics_export_info() and dereferences a null dynamic_metrics pointer. Guard update_export_mem() behind enable_dynamic_metrics and return early from dynamic_metrics_export_info() when dynamic_metrics is null. Change-Id: Ie538d08986976dadb92d37ad4d1a6123c3ffe112 Signed-off-by: Ofir Vainshtein <ofirvins(a)google.com> --- M src/monitoring/dynamic_metrics.cc M src/monitoring/prometheus_exposer.cc 2 files changed, 5 insertions(+), 1 deletion(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/16/1260416/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1260416?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: Ie538d08986976dadb92d37ad4d1a6123c3ffe112 Gerrit-Change-Number: 1260416 Gerrit-PatchSet: 1 Gerrit-Owner: ofir vainshtein <ofirvins(a)google.com>
1 0
0 0
[L] Change in ...nfs-ganesha[next]: FSAL/CEPH: upper-layer WRITE donate, claim_iov, and VC defer
by Name of user not set (GerritHub) 17 Nov '26

17 Nov '26
erodriguez(a)lazyk-ranch.com has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1260402?usp=email ) Change subject: FSAL/CEPH: upper-layer WRITE donate, claim_iov, and VC defer ...................................................................... FSAL/CEPH: upper-layer WRITE donate, claim_iov, and VC defer WRITE still decoded into ntirpc-owned buffers, forcing a copy into Ceph pages, and VC payload defer could not be enabled safely at accept. A FILLBUFS fallback after upper-layer fill failure also hid decode errors. Donate WRITE recv buffers via claim_iov, allocate payloads into Ceph pages on decode, allow client_oc with zerocopy via the upper-layer WRITE path, enable VC payload defer at TCP accept, fail closed instead of FILLBUFS-fallback on fill errors, and bump libntirpc to the v15.11 upper-layer WRITE tip. Change-Id: I312b91755695412ee69e0d1c9efb60f71a7d1293 Signed-off-by: Edwin Rodriguez <edwin.rodriguez1(a)ibm.com> Co-authored-by: Cursor <cursoragent(a)cursor.com> --- M src/CMakeLists.txt M src/FSAL/FSAL_CEPH/handle.c M src/FSAL/FSAL_CEPH/internal.h M src/FSAL/FSAL_CEPH/main.c M src/FSAL/fsal_config.c M src/MainNFSD/libganesha_nfsd.ver M src/MainNFSD/nfs_rpc_dispatcher_thread.c M src/MainNFSD/nfs_worker_thread.c M src/Protocols/NFS/nfs3_write.c M src/Protocols/NFS/nfs4_op_write.c M src/RPCAL/rpc_tools.c M src/cmake/modules/FindCEPHFS.cmake A src/doc/fsal_ceph_write_donate.md M src/doc/man/ganesha-ceph-config.rst A src/doc/upper_layer_write_alloc.md M src/include/config-h.in.cmake M src/include/fsal_types.h M src/include/gsh_rpc.h M src/libntirpc 19 files changed, 466 insertions(+), 10 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/02/1260402/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1260402?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: I312b91755695412ee69e0d1c9efb60f71a7d1293 Gerrit-Change-Number: 1260402 Gerrit-PatchSet: 1 Gerrit-Owner: erodriguez(a)lazyk-ranch.com
1 0
0 0
[L] Change in ...nfs-ganesha[next]: FSAL/CEPH: wire READ/WRITE to ceph_buffer.h zero-copy API
by Name of user not set (GerritHub) 17 Nov '26

17 Nov '26
erodriguez(a)lazyk-ranch.com has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1260321?usp=email ) Change subject: FSAL/CEPH: wire READ/WRITE to ceph_buffer.h zero-copy API ...................................................................... FSAL/CEPH: wire READ/WRITE to ceph_buffer.h zero-copy API The obsolete libcephfs zerocopy I/O path and lack of cmake detection for the modern ceph_buffer.h async API left FSAL_CEPH unable to use current Ceph zero-copy buffer interfaces for READ/WRITE. Detect the Ceph zero-copy async API at configure time, remove the obsolete path, and wire READ/WRITE through ceph_buffer.h. Change-Id: Icc2725d575b7d73eb46f99d192e8797810796508 Signed-off-by: Edwin Rodriguez <edwin.rodriguez1(a)ibm.com> Assisted-by: Cursor <cursoragent(a)cursor.com> --- M src/FSAL/FSAL_CEPH/handle.c M src/cmake/modules/FindCEPHFS.cmake 2 files changed, 499 insertions(+), 85 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/21/1260321/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1260321?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: Icc2725d575b7d73eb46f99d192e8797810796508 Gerrit-Change-Number: 1260321 Gerrit-PatchSet: 1 Gerrit-Owner: erodriguez(a)lazyk-ranch.com
1 0
0 0
[L] Change in ...nfs-ganesha[next]: config: wire MSG_ZEROCOPY TX and export ZC counters
by Name of user not set (GerritHub) 17 Nov '26

17 Nov '26
erodriguez(a)lazyk-ranch.com has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1260319?usp=email ) Change subject: config: wire MSG_ZEROCOPY TX and export ZC counters ...................................................................... config: wire MSG_ZEROCOPY TX and export ZC counters Large NFS reply sends still used the copy-based TX path: operators could not enable ntirpc MSG_ZEROCOPY from NFS_Core_Param, and ZC completion/fallback counters were invisible in Ganesha stats, so Ceph READ gifts could not be tuned or verified end-to-end. Add Enable_Socket_Zerocopy / threshold / max_pending to NFS_Core_Param, pass them into svc_init, expose GetSocketZerocopyStats via DBus and ganesha_stats socket_zc (text and JSON), document the feature, and bump libntirpc to the tip that hardens upstream MSG_ZEROCOPY for Ceph FSAL. Change-Id: Ie497271e8aa4ef5e8897ede5f23907f136c1666b Signed-off-by: Edwin Rodriguez <edwin.rodriguez1(a)ibm.com> --- M src/MainNFSD/nfs_rpc_dispatcher_thread.c A src/doc/socket_zerocopy.md M src/include/gsh_config.h M src/include/server_stats_private.h M src/libntirpc M src/scripts/ganeshactl/Ganesha/glib_dbus_stats.py M src/scripts/ganeshactl/ganesha_stats.py M src/support/export_mgr.c M src/support/nfs_read_conf.c 9 files changed, 321 insertions(+), 49 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/19/1260319/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1260319?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: Ie497271e8aa4ef5e8897ede5f23907f136c1666b Gerrit-Change-Number: 1260319 Gerrit-PatchSet: 1 Gerrit-Owner: erodriguez(a)lazyk-ranch.com
1 0
0 0
[S] Change in ...nfs-ganesha[next]: MainNFSD: Raise nTI-RPC fragment limit above the 256 KiB legacy default
by bjfhdhhaha (GerritHub) 17 Nov '26

17 Nov '26
bjfhdhhaha has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1260311?usp=email ) Change subject: MainNFSD: Raise nTI-RPC fragment limit above the 256 KiB legacy default ...................................................................... MainNFSD: Raise nTI-RPC fragment limit above the 256 KiB legacy default Change-Id: Iea19ff3f84bf44e27ecd33d58f416af7e0a7bf70 Signed-off-by: bjfhdhhaha <1453769042(a)qq.com> --- M src/MainNFSD/nfs_rpc_dispatcher_thread.c M src/include/gsh_config.h 2 files changed, 48 insertions(+), 0 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/11/1260311/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1260311?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: Iea19ff3f84bf44e27ecd33d58f416af7e0a7bf70 Gerrit-Change-Number: 1260311 Gerrit-PatchSet: 1 Gerrit-Owner: bjfhdhhaha <1453769042(a)qq.com>
1 0
0 0
[M] Change in ...nfs-ganesha[next]: [RFC] FSAL_VFS: add opt-in strict O_DIRECT I/O
by Kirill Gibelgaus (GerritHub) 16 Nov '26

16 Nov '26
Kirill Gibelgaus has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1260114?usp=email ) Change subject: [RFC] FSAL_VFS: add opt-in strict O_DIRECT I/O ...................................................................... [RFC] FSAL_VFS: add opt-in strict O_DIRECT I/O Streaming NFS reads can repeatedly fill and reclaim a container's file cache when the dataset exceeds its memory limit. Client-side direct I/O does not bypass this server-side cache. Issue #1439 describes the experiments that motivated this proposal. Add a Linux-only VFS module option, ODirect, disabled by default: VFS { ODirect = true; } Require O_DIRECT on regular-file data descriptors, including create and reopen. Keep descriptor reuse and the existing NFS state/share ordering. Use STATX_DIOALIGN to check alignment. Requests whose transport buffers are misaligned use a request-local aligned RAM buffer, preserving the original TCP/RDMA vectors and their ownership. Scatter only bytes actually read, and recognize short EOF reads even when protocol-level Getattrs_In_Complete_Read is disabled. This is deliberately a strict mode. Unaligned file offsets or lengths return EINVAL; unknown alignment or a non-direct data descriptor returns EOPNOTSUPP. Direct-open errors propagate without retrying buffered. Defer named-open truncation until direct-mode setup succeeds so a failed request cannot erase existing data. No rounded read-modify-write is introduced. Disable native VFS COPY in this mode because copy_file_range and its fd-level fallback can use page cache. Generic FSAL COPY paths retain the strict READ/WRITE restrictions. Metadata caches and backend caches, including ZFS ARC, are outside this option. The filesystem still decides its internal direct-I/O behavior; the option does not imply O_SYNC. Local Linux/ext4 probes compile the actual changed source functions with FSAL bookkeeping stubbed and real file I/O. ASan/UBSan passed 47 I/O checks, 23 open/create checks, and four native COPY cases. These include misaligned buffers, rejected byte ranges, short EOF without overwriting the unread tail, descriptor flags, failure before truncation, and no resident data pages after the tested direct write. A build with STATX_DIOALIGN absent rejects strict I/O and preserves the default path. clang-format, checkpatch and git diff --check also passed. A complete Ganesha build, NFS protocol E2E, RDMA hardware tests and new throughput measurements of this upstream variant have not been run. This RFC asks whether an explicitly strict, opt-in alignment contract is useful for VFS. General byte-granular NFS applications can fail when it is enabled. Feedback on this policy and the preferred upstream approach to avoiding page-cache pressure would be welcome. Link: https://github.com/nfs-ganesha/nfs-ganesha/issues/1439 Change-Id: I7c627fc7243b771cd7a798176971e1ffb6f4f73c Signed-off-by: Kirill Gibelgaus <kgibelgaus(a)ozon.ru> --- M src/FSAL/FSAL_VFS/file.c M src/FSAL/FSAL_VFS/handle.c M src/FSAL/FSAL_VFS/vfs/main-c.in.cmake M src/FSAL/FSAL_VFS/vfs_methods.h M src/doc/man/ganesha-vfs-config.rst 5 files changed, 193 insertions(+), 4 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/14/1260114/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1260114?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: I7c627fc7243b771cd7a798176971e1ffb6f4f73c Gerrit-Change-Number: 1260114 Gerrit-PatchSet: 1 Gerrit-Owner: Kirill Gibelgaus <ksgibelgaus(a)edu.hse.ru>
1 0
0 0
[XS] Change in ...nfs-ganesha[next]: nfs_core/qos: put the export and client refs taken for Cluster QoS me...
by Venky Shankar (GerritHub) 16 Nov '26

16 Nov '26
Venky Shankar has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1260078?usp=email ) Change subject: nfs_core/qos: put the export and client refs taken for Cluster QoS messages ...................................................................... nfs_core/qos: put the export and client refs taken for Cluster QoS messages cluster_qos_process_pe() looks up the export named in a received Cluster QoS message with get_gsh_export() but never drops that reference, so every PUBLISH, [UN]SUBSCRIBE message a node receives pins the export once more. Once the export is removed, its refcount never reaches zero causing the export to be never freed and its FSAL export is never released. With FSAL_CEPH, the libcephfs mount and its CephFS session outlive the export causing the MDS to spend unnecessary time waiting in up:clientreplay state during upgrades. More details in the GitHub issue on why that happens. Samwe with per-client QoS. Drop the references once the message has been handled. GitHub Issue: #1441 Fixes: 7cf951750 ("Cluster QoS module implementation") Change-Id: Id626f1a71e97fffc063c80598bc1b5311dba0474 Signed-off-by: Venky Shankar <vshankar(a)redhat.com> --- M src/MainNFSD/nfs_cluster_qos.c 1 file changed, 4 insertions(+), 0 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/78/1260078/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1260078?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: Id626f1a71e97fffc063c80598bc1b5311dba0474 Gerrit-Change-Number: 1260078 Gerrit-PatchSet: 1 Gerrit-Owner: Venky Shankar <vshankar(a)redhat.com>
1 0
0 0
[M] Change in ...nfs-ganesha[next]: alloc: make memory trim work with tcmalloc
by bjfhdhhaha (GerritHub) 13 Nov '26

13 Nov '26
bjfhdhhaha has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1259638?usp=email ) Change subject: alloc: make memory trim work with tcmalloc ...................................................................... alloc: make memory trim work with tcmalloc Change-Id: Ibef722f0b6052e83cfa5d9819377cc47a1de3ec9 Signed-off-by: bjfhdhhaha <1453769042(a)qq.com> --- M src/CMakeLists.txt M src/MainNFSD/nfs_admin_thread.c M src/MainNFSD/nfs_init.c M src/MainNFSD/nfs_reaper_thread.c M src/include/abstract_mem.h 5 files changed, 77 insertions(+), 9 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/38/1259638/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1259638?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: Ibef722f0b6052e83cfa5d9819377cc47a1de3ec9 Gerrit-Change-Number: 1259638 Gerrit-PatchSet: 1 Gerrit-Owner: bjfhdhhaha <1453769042(a)qq.com>
1 0
0 0
  • ← Newer
  • 1
  • 2
  • 3
  • 4
  • 5
  • ...
  • 398
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.