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

November 2026

  • 2 participants
  • 59 discussions
[XS] Change in ...nfs-ganesha[next]: Add support for write delegations.
by marc eshel (GerritHub) 12 Nov '26

12 Nov '26
marc eshel has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1259299?usp=email ) Change subject: Add support for write delegations. ...................................................................... Add support for write delegations. Change-Id: I0d433b4f53b66b1acfd321ca13eba9dc56ddbc1c Signed-off-by: marc eshel <eshel(a)us.ibm.com> --- M src/FSAL/FSAL_GPFS/file.c 1 file changed, 1 insertion(+), 3 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/99/1259299/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1259299?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: I0d433b4f53b66b1acfd321ca13eba9dc56ddbc1c Gerrit-Change-Number: 1259299 Gerrit-PatchSet: 1 Gerrit-Owner: marc eshel <eshel(a)us.ibm.com>
1 0
0 0
[XS] Change in ...nfs-ganesha[next]: NFSv4.1: return NFS4ERR_NOTSUPP for unimplemented BACKCHANNEL_CTL
by Suhas Athani (GerritHub) 12 Nov '26

12 Nov '26
Suhas Athani has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1259221?usp=email ) Change subject: NFSv4.1: return NFS4ERR_NOTSUPP for unimplemented BACKCHANNEL_CTL ...................................................................... NFSv4.1: return NFS4ERR_NOTSUPP for unimplemented BACKCHANNEL_CTL Related to PYNFS DELEG7 testcase and github issue# 1433 - BACKCHANNEL_CTL is a real NFSv4.1 op; NFS4ERR_NOTSUPP fits better than NFS4ERR_OP_ILLEGAL while it stays unimplemented. - Common clients set callback security in CREATE_SESSION and rarely use BACKCHANNEL_CTL. - With this we can mark PYNFS DELEG7 as expected failure or can be skipped. Change-Id: I1316c6b84e1b44fd19cd64e70974b7d6bb3294ad Signed-off-by: Suhas Athani <Suhas.Athani(a)ibm.com> --- M src/Protocols/NFS/nfs4_Compound.c 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/21/1259221/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1259221?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: I1316c6b84e1b44fd19cd64e70974b7d6bb3294ad Gerrit-Change-Number: 1259221 Gerrit-PatchSet: 1 Gerrit-Owner: Suhas Athani <Suhas.Athani(a)ibm.com>
1 0
0 0
[S] Change in ...nfs-ganesha[next]: SAL: add FSAL option to disable same-client write deleg bypass
by Xueqian Hu (GerritHub) 10 Nov '26

10 Nov '26
Xueqian Hu has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1259052?usp=email ) Change subject: SAL: add FSAL option to disable same-client write deleg bypass ...................................................................... SAL: add FSAL option to disable same-client write deleg bypass Commit 69892e7 allows same-client write to bypass delegation recall when it is the sole holder. Provide an FSAL opt-in fso_recall_deleg_on_write to disable this bypass and force recall on same-client write. Default is false which is to keep the bypass behavior. Change-Id: If9fe5153695163076f6083f26c398f37bb8b2caf Signed-off-by: xueqian.hu <xh140312(a)outlook.com> --- M src/FSAL/fsal_config.c M src/SAL/state_deleg.c M src/include/fsal_types.h 3 files changed, 11 insertions(+), 1 deletion(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/52/1259052/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1259052?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: If9fe5153695163076f6083f26c398f37bb8b2caf Gerrit-Change-Number: 1259052 Gerrit-PatchSet: 1 Gerrit-Owner: Xueqian Hu <xh140312(a)outlook.com>
1 0
0 0
[S] Change in ...nfs-ganesha[next]: Don't keep READ replies in the NFSv4.1 reply cache
by Name of user not set (GerritHub) 10 Nov '26

10 Nov '26
roybabayov(a)gmail.com has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1259050?usp=email ) Change subject: Don't keep READ replies in the NFSv4.1 reply cache ...................................................................... Don't keep READ replies in the NFSv4.1 reply cache - A READ reply hands its data buffer to the transport, which frees it once the reply is sent, but the slot reply cache still points to it. - So replaying a READ request that asked to be cached (sa_cachethis) sends freed heap memory and frees the buffer again. - Return NFS4ERR_REP_TOO_BIG_TO_CACHE (the RFC 8881 error for a reply the server can't cache) for READ and READ_PLUS in such requests. - The Linux client never asks to cache READ or READ_PLUS replies, so it isn't affected. Change-Id: I9452f58a5f7739138d4aa06c7f49f3843b65d7b7 Signed-off-by: Roy Babayov <roybabayov(a)google.com> --- M src/Protocols/NFS/nfs4_op_read.c 1 file changed, 18 insertions(+), 0 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/50/1259050/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1259050?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: I9452f58a5f7739138d4aa06c7f49f3843b65d7b7 Gerrit-Change-Number: 1259050 Gerrit-PatchSet: 1 Gerrit-Owner: roybabayov(a)gmail.com
1 0
0 0
[S] Change in ...nfs-ganesha[next]: Don't keep READDIR replies in the NFSv4.1 reply cache
by Name of user not set (GerritHub) 10 Nov '26

10 Nov '26
roybabayov(a)gmail.com has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1259049?usp=email ) Change subject: Don't keep READDIR replies in the NFSv4.1 reply cache ...................................................................... Don't keep READDIR replies in the NFSv4.1 reply cache - A READDIR reply hands its entries buffer to the transport, which frees it once the reply is sent, but the slot reply cache still points to it. - So replaying a READDIR request that asked to be cached (sa_cachethis) sends freed heap memory and calls a release function read from freed memory. - Return NFS4ERR_REP_TOO_BIG_TO_CACHE (the RFC 8881 error for a reply the server can't cache) for READDIR in such requests; the Linux client never asks to cache READDIR replies, so it isn't affected. - Also fix the size of the entries' xdr_uio allocation, which added sizeof(struct xdr_uio) instead of sizeof(struct xdr_vio). Change-Id: I7a1ebb72821169b2c3393ca00ce3553d58a9a0be Signed-off-by: Roy Babayov <roybabayov(a)google.com> --- M src/Protocols/NFS/nfs4_op_readdir.c 1 file changed, 10 insertions(+), 1 deletion(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/49/1259049/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1259049?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: I7a1ebb72821169b2c3393ca00ce3553d58a9a0be Gerrit-Change-Number: 1259049 Gerrit-PatchSet: 1 Gerrit-Owner: roybabayov(a)gmail.com
1 0
0 0
[XS] Change in ...nfs-ganesha[next]: Don't cache a reply in a slot that SEQUENCE no longer holds
by Name of user not set (GerritHub) 10 Nov '26

10 Nov '26
roybabayov(a)gmail.com has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1259048?usp=email ) Change subject: Don't cache a reply in a slot that SEQUENCE no longer holds ...................................................................... Don't cache a reply in a slot that SEQUENCE no longer holds - When SEQUENCE fails its reply size check, it drops the slot lock and the session reference but leaves the slot set for caching the reply. - The end of the request then writes the reply into that slot without the lock, so a concurrent DESTROY_SESSION can free the slot first and the write hits freed memory. - Clear the slot and the cache flag before dropping the lock, so a failed SEQUENCE caches nothing. Change-Id: Ib0b2337b32193d97eb11a363225ca68a5173a537 Signed-off-by: Roy Babayov <roybabayov(a)google.com> --- M src/Protocols/NFS/nfs4_op_sequence.c 1 file changed, 7 insertions(+), 0 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/48/1259048/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1259048?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: Ib0b2337b32193d97eb11a363225ca68a5173a537 Gerrit-Change-Number: 1259048 Gerrit-PatchSet: 1 Gerrit-Owner: roybabayov(a)gmail.com
1 0
0 0
[XS] Change in ...nfs-ganesha[next]: nfs4_op_create: Squash explicit owner attributes in NFS4_OP_CREATE
by Name of user not set (GerritHub) 10 Nov '26

10 Nov '26
shaharhoch(a)google.com has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1259042?usp=email ) Change subject: nfs4_op_create: Squash explicit owner attributes in NFS4_OP_CREATE ...................................................................... nfs4_op_create: Squash explicit owner attributes in NFS4_OP_CREATE Unlike nfs4_op_open() and nfs4_op_setattr(), nfs4_op_create() converts client-supplied createattrs via nfs4_Fattr_To_FSAL_attr() without calling squash_setattr(&sattr). A squashed client (Root_Squash, Root_Id_Squash, or All_Squash) supplying explicit FATTR4_OWNER or FATTR4_OWNER_GROUP of 0 in CREATE can therefore create root-owned directories, symlinks, or special files instead of having ownership squashed to the export's anonymous IDs. Call squash_setattr(&sattr) after nfs4_Fattr_To_FSAL_attr() in nfs4_op_create(). Change-Id: I15197838bbaae11ce914bc92a8429a3b6f613171 Signed-off-by: Shahar Hochma <shaharhoch(a)google.com> --- M src/Protocols/NFS/nfs4_op_create.c 1 file changed, 5 insertions(+), 0 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/42/1259042/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1259042?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: I15197838bbaae11ce914bc92a8429a3b6f613171 Gerrit-Change-Number: 1259042 Gerrit-PatchSet: 1 Gerrit-Owner: shaharhoch(a)google.com
1 0
0 0
[S] Change in ...nfs-ganesha[next]: nfs_creds: Isolate extended groups and squashed gids on export switches
by Name of user not set (GerritHub) 10 Nov '26

10 Nov '26
shaharhoch(a)google.com has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1259021?usp=email ) Change subject: nfs_creds: Isolate extended groups and squashed gids on export switches ...................................................................... nfs_creds: Isolate extended groups and squashed gids on export switches A single NFSv4 COMPOUND can switch between exports with different Manage_Gids and Squash settings (for example via PUTROOTFH, LOOKUP, or PUTFH), re-running nfs_req_creds() on the shared per-request op_ctx. Fix three export-switch issues in nfs_creds.c: 1. In set_extended_groups(), op_ctx->caller_gdata != NULL was checked before MANAGED_GIDS. Touching a Manage_Gids = true export populated caller_gdata, causing later operations in the same COMPOUND on a Manage_Gids = false export to enforce server-resolved groups instead of AUTH_SYS groups. Check MANAGED_GIDS first and restore original_creds groups when unset. 2. In squash_creds(), caller_garray_copy and managed_garray_copy were allocated once when NULL and reused without checking whether caller_glen grew on a later export in the COMPOUND, risking a heap out-of-bounds write when squashing supplementary gid=0. Free any prior squashed copies at the start of nfs_req_creds() (resetting creds.caller_garray to original_creds if needed). 3. nfs_req_creds() clears MANAGED_GIDS at entry, and the RPCSEC_GSS CREDS_LOADED fast path returned without restoring it. Set MANAGED_GIDS at the start of the RPCSEC_GSS case for non-anonymous credentials, and clear it if initial principal mapping fails. Change-Id: Ic71fbba936bac3dfa69e5386556f94cc7fe502e8 Signed-off-by: Shahar Hochma <shaharhoch(a)google.com> --- M src/support/nfs_creds.c 1 file changed, 35 insertions(+), 9 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/21/1259021/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1259021?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: Ic71fbba936bac3dfa69e5386556f94cc7fe502e8 Gerrit-Change-Number: 1259021 Gerrit-PatchSet: 1 Gerrit-Owner: shaharhoch(a)google.com
1 0
0 0
[S] Change in ...nfs-ganesha[next]: nfs4_op_restorefh: Re-evaluate request credentials in NFS4_OP_RESTOREFH
by Name of user not set (GerritHub) 10 Nov '26

10 Nov '26
shaharhoch(a)google.com has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1259020?usp=email ) Change subject: nfs4_op_restorefh: Re-evaluate request credentials in NFS4_OP_RESTOREFH ...................................................................... nfs4_op_restorefh: Re-evaluate request credentials in NFS4_OP_RESTOREFH When a client on a Root_Squash or All_Squash export switches to an unsquashed export (such as the PseudoFS root via PUTROOTFH) and restores the saved filehandle via RESTOREFH within the same COMPOUND, nfs4_op_restorefh() restores op_ctx->ctx_export and op_ctx->export_perms without re-evaluating op_ctx->creds. As a result, unsquashed uid=0 and gid=0 credentials remain active for subsequent operations in the COMPOUND, bypassing export squashing. Call nfs_req_creds(data->req) after restoring the saved export context in nfs4_op_restorefh() so caller credentials and group squashing are recomputed against the restored export permissions. Change-Id: I42951cbeb479aca95d0650521068b98037ba9ddc Signed-off-by: Shahar Hochma <shaharhoch(a)google.com> --- M src/Protocols/NFS/nfs4_op_restorefh.c 1 file changed, 7 insertions(+), 3 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/20/1259020/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1259020?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: I42951cbeb479aca95d0650521068b98037ba9ddc Gerrit-Change-Number: 1259020 Gerrit-PatchSet: 1 Gerrit-Owner: shaharhoch(a)google.com
1 0
0 0
[S] Change in ...nfs-ganesha[next]: FSAL_CEPH: fix heap-buffer-overflow in lookup_path string boundary check
by bjfhdhhaha (GerritHub) 09 Nov '26

09 Nov '26
bjfhdhhaha has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1258768?usp=email ) Change subject: FSAL_CEPH: fix heap-buffer-overflow in lookup_path string boundary check ...................................................................... FSAL_CEPH: fix heap-buffer-overflow in lookup_path string boundary check Change-Id: I66549e766c8d54643041cb0e203397ed68e899ec Signed-off-by: bjfhdhhaha <1453769042(a)qq.com> --- M src/FSAL/FSAL_CEPH/export.c 1 file changed, 11 insertions(+), 1 deletion(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/68/1258768/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1258768?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: I66549e766c8d54643041cb0e203397ed68e899ec Gerrit-Change-Number: 1258768 Gerrit-PatchSet: 1 Gerrit-Owner: bjfhdhhaha <1453769042(a)qq.com>
1 0
0 0
  • ← Newer
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.