Does NFS-Ganesha support IPv6 wildcards (e.g., fd00:*::/64) in CLIENT entries?
by sagaragarwal1995@gmail.com
Hi everyone,
I’m trying to configure IPv6 client access in my NFS-Ganesha setup and was wondering if wildcard or subnet-style entries are supported in the CLIENT section of the export configuration.
for examle:
CLIENT {
Clients = fd00:*::;
Access_Type = RW;
}
Is this syntax valid for allowing all clients under the fd00 IPv6 range, similar to how IPv4 wildcards like 192.168.*.0 work?
Or should IPv6 subnets only be specified using CIDR notation (e.g., fd00::/64)?
I verified it with vfs, but this was giving "Unexpected character" error.
Thanks in advance for any insights!
— Sagar
1 month, 3 weeks
Announce Push of V8.0
by Frank Filz
Branch next
Tag:V8.0
This is the first merge with our rolling release model.
This merge includes a significant feature in making delegations usable
including write delegations.
Merge Highlights
* Patches to make delegation functional
* Add Ganesha resource usage metrics for Prometheus
* SAL: Avoid extra logging during grace period
* Support disabling dentry caching for export
* Use protocols perms set in CLIENT block of the export
* Several bug fixes (see complete list below)
Signed-off-by: Frank S. Filz <ffilzlnx(a)mindspring.com>
Contents:
defee006b Frank S. Filz V8.0
dfe65a1d6 Yogendra Charya Tangalapally Use protocols perms set in CLIENT
block of the export
4ad1afe05 Sachin Punadikar Support disabling dentry caching for export
0fd1da361 Sachin Punadikar SAL: Avoid extra logging during grace period
cd97d7d67 Deeraj.Patil [QOS] : Coverity fixes
85ee2ba0b Sreedhar Agraharam Add Ganesha resource usage metrics for
Prometheus
af464cc10 Md Mahamudur Rahaman Sajib FSAL_CEPH: fix compatibility with
VMware clients
7cef30d9d Martin Schwenke monitoring: Fix the build with USE_MONITORING is
not defined
01ab24d05 VidyaThumukunta Fix RD5a pynfs nfs4.0 failure by handling very
large READ offsets
b4d59650b xueqian.hu Support QoS DS read/write control
8d95ccc6b Yoni Couriel nfs4_op_bind_conn: Minor enum type fix.
5e849ae61 Animesh Javali Delegation option parsing from CLIENT block
acce22cf6 Animesh Javali Write Delegations FSAL_CEPH changes
ac12efead Suhas Athani Fix WRITE delegation check in nfs4_op_getattr()
0002bfac4 Suhas Athani FSAL: Add delegation-aware FD reuse to
fsal_start_io()
061894f6a Suhas Athani Ensure delegation grant for read+write access
ae65023f9 Suhas Athani Add server-side support for NFS4ERR_DELEG_REVOKED
error handling.
1 month, 4 weeks
[S] Change in ...nfs-ganesha[next]: Support disabling dentry caching for export
by Sachin Punadikar (GerritHub)
Sachin Punadikar has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1224008?usp=email )
Change subject: Support disabling dentry caching for export
......................................................................
Support disabling dentry caching for export
By default, mdcache caches dentries unless disabled by config option
"Dir_Chunk = 0". Caching of dentries helps in improved performance.
In certain scenarios like underneath FSAL recommends not to cache
dentries (like CEPH) or in case the export is getting changed outside
of NFS protocol, then disabling dentry caching helps.
One need to add below config value in EXPORT block.
DisableDirCaching = true;
Change-Id: I5140c19f6fae3861d56413afe43d78517a55bc4b
Signed-off-by: Sachin Punadikar <sachin.punadikar(a)ibm.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_handle.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c
M src/config_samples/export.txt
M src/doc/man/ganesha-export-config.rst
M src/include/nfs_exports.h
M src/support/exports.c
6 files changed, 35 insertions(+), 6 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/08/1224008/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1224008?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: I5140c19f6fae3861d56413afe43d78517a55bc4b
Gerrit-Change-Number: 1224008
Gerrit-PatchSet: 1
Gerrit-Owner: Sachin Punadikar <sachin.punadikar(a)ibm.com>
1 month, 4 weeks
[XS] Change in ...nfs-ganesha[next]: Fix RDDR11/RDDR12 pynfs failures by ignoring dircount==0 as entry limit
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/+/1224002?usp=email )
Change subject: Fix RDDR11/RDDR12 pynfs failures by ignoring dircount==0 as entry limit
......................................................................
Fix RDDR11/RDDR12 pynfs failures by ignoring dircount==0 as entry limit
READDIR was returning NFS4ERR_TOOSMALL when dircount=0, as it was treated
as “no entries allowed.” Per RFC 8881, dircount==0 means “no limit,” and
the server should rely on maxcount to bound the reply.
This change skips the entry-limit check when dircount==0, allowing correct
NFS4_OK or NFS4ERR_ACCESS responses.
Change-Id: I12bff3c0bbfbda31d8ab9cc340cf99dfe0d63b4f
Signed-off-by: VidyaThumukunta <Vidya.Thumukunta(a)ibm.com>
---
M src/Protocols/NFS/nfs4_op_readdir.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/02/1224002/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1224002?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: I12bff3c0bbfbda31d8ab9cc340cf99dfe0d63b4f
Gerrit-Change-Number: 1224002
Gerrit-PatchSet: 1
Gerrit-Owner: Vidya.Thumukunta(a)ibm.com
1 month, 4 weeks
[M] Change in ...nfs-ganesha[next]: [QOS] : Coverity fixes
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/+/1223923?usp=email )
Change subject: [QOS] : Coverity fixes
......................................................................
[QOS] : Coverity fixes
CID:
583549 Dereference after null check
583552 Dereference before null check
583532 Missing unlock
583542 Missing unlock
583545 Unchecked return value
Change-Id: Ie4289b1f88a9a1a82ccc23c3e0ba7abc4caff7ea
Signed-off-by: Deeraj.Patil <Deeraj.Patil(a)ibm.com>
---
M src/MainNFSD/nfs_qos.c
M src/support/nfs_qosmgr.c
2 files changed, 119 insertions(+), 41 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/23/1223923/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1223923?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: Ie4289b1f88a9a1a82ccc23c3e0ba7abc4caff7ea
Gerrit-Change-Number: 1223923
Gerrit-PatchSet: 1
Gerrit-Owner: deeraj.patil(a)ibm.com
2 months
[XS] Change in ...nfs-ganesha[next]: Ensure delegation grant for read+write access
by Suhas Athani (GerritHub)
Suhas Athani has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1223914?usp=email )
Change subject: Ensure delegation grant for read+write access
......................................................................
Ensure delegation grant for read+write access
Delegations are denied when clients request both read and write
access (OPEN4_SHARE_ACCESS_READ | OPEN4_SHARE_ACCESS_WRITE).
Added !(args->share_access & OPEN4_SHARE_ACCESS_WRITE) to the first
condition in should_we_grant_deleg() to exclude read+write requests
from the read-only contention check.
Change-Id: Ie4aa157d65551e98a3945a8fb2427059c03476ab
Signed-off-by: Suhas Athani <Suhas.Athani(a)ibm.com>
---
M src/SAL/state_deleg.c
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/14/1223914/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1223914?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: Ie4aa157d65551e98a3945a8fb2427059c03476ab
Gerrit-Change-Number: 1223914
Gerrit-PatchSet: 1
Gerrit-Owner: Suhas Athani <Suhas.Athani(a)ibm.com>
2 months
Announce Push of V7.3
by Frank Filz
Branch next
Tag:V7.3
Merge Highlights
* Rework of IP address utility functions and replacement of libcidr
* Config Parsing: Allow 3 digit mask for IPv6 Export CIDRs
* Allow updating the UTF8 enforcement on a dynamic configuration change.
* Block signals immediately at the beginning of the main function.
* SAL: Fix crash during shutdown due to invalid svc_rqst_rec in
svc_rqst_expire_insert
* Several other bug fixes (see patch list in git or below in e-mail for full
list)
Signed-off-by: Frank S. Filz <ffilzlnx(a)mindspring.com>
Contents:
6d6328a10 Frank S. Filz V7.3
ca2722419 Oscar Ou Fix cid_mutex deadlock in reserve_lease_or_expire
8e9c2ec24 Eli Daian Block signals immediately at the beginning of the main
function.
92ed7468e Eli Daian Allow updating the UTF8 enforcement on a dynamic
configuration change.
31f11cb71 Sreedhar Agraharam Fix: Race condition between socket flush and
close
1b34f7727 Sreedhar Agraharam Added export_path label to export specific
metrics
746760024 Shahar Hochma Fix notify_granted_completion for NFSv4.1
9409b9948 Peter Schwenke Fix up the protocol number for SCTP in
FSAL_encode_ipv4_netaddr
ccc2abd1a Peter Schwenke Move IP related functions from rpc_tools. to
ip_utils.c
4265c5c48 Peter Schwenke Remove third party library libcidr
87aa1efcf Peter Schwenke Replace libcidr
ae99a4b1b Peter Schwenke Move 2 comments that were causing bizarre
clang-format behaviour
4621ecbff Peter Schwenke Fix ip_str_to_sockaddr for IPv6
b37df5d64 Peter Schwenke Config Parsing: Allow 3 digit mask for IPv6 Export
CIDRs
becc366e1 Nishant Puri SAL: Fix crash during shutdown due to invalid
svc_rqst_rec in svc_rqst_expire_insert
ddc9d3b42 Prabhu Murugesan Skip delegation lock conflict check when
delegation is disabled
5f4b88b22 Prabhu Murugesan Map ERR_FSAL_NOMEM to NFS4ERR_RESOURCE instead of
NFS4ERR_SERVERFAULT
c66ed599a Prabhu Murugesan Fix ganesha_mgr show idmapper_groups error
4c2971ed1 Prabhu Murugesan Set io_request in NFSv3/v4 read paths
b85fe149b Prabhu Murugesan Update config file with scale specific values
43c4d4b46 Prabhu Murugesan Fix race condition between file creation and
symlink repair in NFSv3
2 months