Change in ...nfs-ganesha[next]: Do not collect latency stats for client
by Sachin Punadikar (GerritHub)
Sachin Punadikar has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/470417 )
Change subject: Do not collect latency stats for client
......................................................................
Do not collect latency stats for client
Statistics counting per client/export, currently involves,
operation and latency statistics for read, write commands.
While collecting and extracting stats per client, latency value has
no meaning. Actually it is not the latency from client perspective,
rather it is server perspective.
The per client stats would be helpful in getting insights of the
workload exerted by the client. For this information on number of
operations and kind of operations is helpful.
Not collecting latency information while gathering stats for a client.
Change-Id: I547b613fc94599d2854506283ff85febf30a5d7b
Signed-off-by: Sachin Punadikar <psachin(a)in.ibm.com>
---
M src/support/server_stats.c
1 file changed, 137 insertions(+), 17 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/17/470417/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/470417
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I547b613fc94599d2854506283ff85febf30a5d7b
Gerrit-Change-Number: 470417
Gerrit-PatchSet: 1
Gerrit-Owner: Sachin Punadikar <psachin(a)in.ibm.com>
Gerrit-MessageType: newchange
5 years, 2 months
回复:Re: rsize and wsize on centos7.2 not working
by QR
Hi malahal, thanks for your reply.CentOS7.5 doesn't has this issue, so this seems a bug in kNFS.I need to find a solution for CentOS7.2, so I search the release notes for 7.3~7.6, and fail to find anything about this.Then I find bug https://bugzilla.redhat.com/show_bug.cgi?id=1519701, but the bug is not confirmed yet.
So could anyone tell me how to find the link for this issue? Thanks in advance.
--------------------------------
----- 原始邮件 -----
发件人:Malahal Naineni <malahal(a)gmail.com>
收件人:zhbingyin(a)sina.com
抄送人:ganesha-devel <devel(a)lists.nfs-ganesha.org>
主题:[NFS-Ganesha-Devel] Re: rsize and wsize on centos7.2 not working
日期:2019年09月25日 13点28分
I remember an issue like this with early shipments of RHEL7. I recall it as a defect in kNFS, My memory could be wrong though. These are exchanged very early on, so I imagine this is due to NFS client (Centos 7.2). Try with Centos 7.6, if you don't see this issue then it is clear where the issue is.
On Wed, Sep 25, 2019 at 9:03 AM QR <zhbingyin(a)sina.com> wrote:
In CentOS7.2 under v4.0, the wsize is 1048576, but when writing 1048576 bytes on a file, ganesha receives 4 requests.The problem is who splits the 1MB request to 4 requests(256KB)?Is anyone know about this? Thanks in advance.
Ganesha server info ganesha version: V2.7.6 FSAL : glusternfs client info nfs version : nfs v4.0 client info : CentOS Linux release 7.2.1511(3.10.0-327.el7.x86_64)_______________________________________________
Devel mailing list -- devel(a)lists.nfs-ganesha.org
To unsubscribe send an email to devel-leave(a)lists.nfs-ganesha.org
_______________________________________________
Devel mailing list -- devel(a)lists.nfs-ganesha.org
To unsubscribe send an email to devel-leave(a)lists.nfs-ganesha.org
5 years, 2 months
Ganesha build fails for GPFS for Ganesha 2.9-dev.10
by Sachin Punadikar
Hello All,
I getting below failure for building Ganesha 2.9-dev.10.
Processing files: nfs-ganesha-gpfs-2.9-dev.10.el7.x86_64
error: File not found:
/root/rpmbuild/BUILDROOT/nfs-ganesha-2.9-dev.10.el7.x86_64/usr/libexec/ganesha/gpfs-epoch
RPM build errors:
File not found:
/root/rpmbuild/BUILDROOT/nfs-ganesha-2.9-dev.10.el7.x86_64/usr/libexec/ganesha/gpfs-epoch
I am using below command:
src (next)]# cd ../../; cd nfs-ganesha && rm -rf build && mkdir build && cd
build && cmake ../src -DBUILD_CONFIG=rpmbuild -DCMAKE_BUILD_TYPE=Release
-DUSE_FSAL_GPFS=ON -DUSE_ADMIN_TOOLS=ON -DUSE_GUI_ADMIN_TOOLS=OFF
-DUSE_DBUS=ON -D_MSPAC_SUPPORT=ON; make dist ; QA_RPATHS=2 rpmbuild -ta
nfs-ganesha*.tar.gz; cd ../src
If I revert below patch, Ganesha gets built correctly:
3a186994e35cf3b98cf2bc4a4d3a1bdcf998b1a0 python: run setup.py for
gpfs-epoch(.py) to fix its shebang
Is there any step I am missing ?
--
with regards,
Sachin Punadikar
5 years, 2 months
handling ntfs acls in ganesha
by Jerrad Bieno
I need to be able to check permissions against ntfs acls within our fsal
plugin in certain scenarios when the underlying filesystem is in a mode
where both nfs and smb will be using it concurrently. I will be able to
return the raw data from the xattr containing the acl as well as getting
the SID from the uid/gid, but am curious if there are any examples of fsals
that have checked permissions against ntfs acls within ganesha? I have seen
some things in the codebase checking against nfsv4 acls, but have not seen
anything related to ntfs acls.
5 years, 2 months
Change in ...nfs-ganesha[next]: Scripts install fixes
by Daniel Gryniewicz (GerritHub)
Daniel Gryniewicz has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/470027 )
Change subject: Scripts install fixes
......................................................................
Scripts install fixes
This fixes several issues related to installing scripts.
1. LIBEXECDIR was unconditionally set to a path in /, ignoring the
install prefix. Fix this to include the install prefix properly.
2. gpfs-epoch was using LIBEXECDIR as an install prefix, causing it to
install in LIBEXECDIR/bin/. Fix this to install in site-packages, with
the script in LIBEXECDIR/ganesha
3. Don't install pre-compiled python for the scripts. This only happens
for python 3.x, and tends to make rpm building fragile.
Change-Id: I223ed4809be59f65cc7026e2c35bda6d3880c033
Signed-off-by: Daniel Gryniewicz <dang(a)redhat.com>
---
M src/CMakeLists.txt
M src/scripts/ganeshactl/CMakeLists.txt
M src/scripts/gpfs-epoch/CMakeLists.txt
3 files changed, 8 insertions(+), 7 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/27/470027/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/470027
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I223ed4809be59f65cc7026e2c35bda6d3880c033
Gerrit-Change-Number: 470027
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Gryniewicz <dang(a)redhat.com>
Gerrit-MessageType: newchange
5 years, 2 months
Change in ...nfs-ganesha[next]: Make LizardFS FSAL compatible with new NFS-ganesha API
by Patryk (GerritHub)
Patryk has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/469974 )
Change subject: Make LizardFS FSAL compatible with new NFS-ganesha API
......................................................................
Make LizardFS FSAL compatible with new NFS-ganesha API
Signed-off-by: Patryk Bęza <patryk.beza(a)lizardfs.com>
Change-Id: I361f69ca905a0260ae7f2a4c6c53a2d3b36779ad
---
M src/FSAL/FSAL_LIZARDFS/ds.c
M src/FSAL/FSAL_LIZARDFS/export.c
A src/FSAL/FSAL_LIZARDFS/fileinfo_cache.h
M src/FSAL/FSAL_LIZARDFS/handle.c
M src/FSAL/FSAL_LIZARDFS/lzfs_internal.c
M src/FSAL/FSAL_LIZARDFS/lzfs_internal.h
M src/FSAL/FSAL_LIZARDFS/main.c
7 files changed, 227 insertions(+), 127 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/74/469974/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/469974
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I361f69ca905a0260ae7f2a4c6c53a2d3b36779ad
Gerrit-Change-Number: 469974
Gerrit-PatchSet: 1
Gerrit-Owner: Patryk <patryk.beza(a)gmail.com>
Gerrit-MessageType: newchange
5 years, 2 months