Hi,
On 05/18/2017 08:04 PM, Yun-Chih Chen wrote:
> Hi, friends:
>
> I'm studying the affect of NFSv4 on Linux. As far as I know, NFS
> implemented in Linux kernel supports read delegation but not write
> delegation. I wonder if Ganesha implements write delegation? If yes,
> can it take effect if accessed by Linux NFS client?
>
> I use the following config file to observe delegation in Ganesha:
>
> EXPORT {
> Export_Id = 77;
> Path = /e;
> Pseudo = /e;
> Access_Type = RW;
> FSAL {
> Name = XFS;
> }
>
> Delegations = readwrite;
> }
>
> NFSV4 {
> Delegations = true;
> }
>
> However, I did not see any trace of delegation under various workloads
> (example: repeated read [1], repeated write [2]) using tools like
> nfstrace or tcpdump. When running in debug mode, I always got the
> following in the log file:
>
> ganesha.nfsd-8999[main] display_fsinfo :FSAL :DEBUG : delegations = 0
>
> indicating that delegation was not on.
> Is there something wrong with my config file? Or any other clue
> regarding NFS delegation? Thanks ( ;
AFAIK except for FSAL_GPFS, other FSALs do not have support for
delegations yet. Also after switching to new extended APIs
(>=nfs-ganesha-2.4), delegations are disabled. It needs some additional
work. We are planning to address it as part of adding this support for
FSAL_GLUSTER (hopefully in 2.6 release). WRT XFS, I am not sure if
anyone is actively looking at it.
Thanks,
Soumya
>
> Ganesha V2.5-rc6 running on Fedora 25, accessed by CentOS 7 client.
>
> [1] repeated read: http://codepad.org/6KUat5AI
> [2] repeated write: http://codepad.org/cuBZ3XuT
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Nfs-ganesha-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel