Change in ...nfs-ganesha[next]: FSAL_GLUSTER: fallback to lookup when entry without handle or stat
by Kinglong Mee (GerritHub)
Kinglong Mee has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/448348
Change subject: FSAL_GLUSTER: fallback to lookup when entry without handle or stat
......................................................................
FSAL_GLUSTER: fallback to lookup when entry without handle or stat
If backend glusterfs return an dir entry without handle
(glusterfs file without gfid), read_dirents return -EINVAL directly.
Steps to Reproduce:
1. touch a file at backend glusterfs;
2. ll at nfs client;
Step #2 doesnot show the new file, and user cannot remove the parent dir
from nfs client.
This patch lets readdir fallback to a lookup as the old logic
when entry without handle or stat.
Change-Id: Iccfd183cb10ffc0841a74a2b2d1dd61275455ba8
Signed-off-by: Kinglong Mee <kinglongmee(a)gmail.com>
---
M src/FSAL/FSAL_GLUSTER/handle.c
1 file changed, 8 insertions(+), 3 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/48/448348/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/448348
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: Iccfd183cb10ffc0841a74a2b2d1dd61275455ba8
Gerrit-Change-Number: 448348
Gerrit-PatchSet: 1
Gerrit-Owner: Kinglong Mee <kinglongmee(a)gmail.com>
Gerrit-MessageType: newchange
5 years, 10 months
回复:Re: Re: Input/output error on CentOS7.2 with nfs4.1
by QR
Hi Sriram,Is there any document about which kernel version ganesha supports for using NFSv4.1 mounts?
--------------------------------
----- 原始邮件 -----
发件人:Sriram Patil <sriramp(a)vmware.com>
收件人:Jeff Layton <jlayton(a)redhat.com>, "zhbingyin(a)sina.com" <zhbingyin(a)sina.com>, ganesha-devel <devel(a)lists.nfs-ganesha.org>
主题:Re: [NFS-Ganesha-Devel] Re: Input/output error on CentOS7.2 with nfs4.1
日期:2019年03月17日 10点23分
Yes, you need centos kernel version >= 3.10.0-514 for using NFSv4.1 mounts.
- Sriram
On 3/16/19, 5:53 PM, "Jeff Layton" <jlayton(a)redhat.com> wrote:
On Sat, 2019-03-16 at 16:14 +0800, QR wrote:
> We are getting "Input/output error" when reading regular files on CentOS7.2 with nfs4.1(4.0 is ok).
> Is anyone know about this?
> Thanks in advance.
>
> Ganesha server info
> kernel version : 3.10.0-693.17.1.el7.x86_64(CentOS 7.5.1804)
> ganesha version: 3bd444c9706e02b778343c9787a7ce3411a5ce61(V2.8-dev.22)
> FSAL : gluster
> nfs client info
> kernel version : 3.10.0-327.el7.x86_64(CentOS 7.2.1511)
> nfs version : nfs4.1
> mount options : rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=XXX,local_lock=none,addr=YYY
I'd suspect a bug in the client with a kernel that old. You may want to
update the kernel on the client and test again.
--
Jeff Layton <jlayton(a)redhat.com>
_______________________________________________
Devel mailing list -- devel(a)lists.nfs-ganesha.org
To unsubscribe send an email to devel-leave(a)lists.nfs-ganesha.org
5 years, 10 months
Change in ...nfs-ganesha[next]: Switch to python3-sphinx on Fedora
by Daniel Gryniewicz (GerritHub)
Daniel Gryniewicz has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/448276
Change subject: Switch to python3-sphinx on Fedora
......................................................................
Switch to python3-sphinx on Fedora
Fedora is dropping python2-sphinx, so switch to python3-sphinx for
building man pages on Fedora-type distros.
Change-Id: I9fe1d3a119c8e2696055f249d07f75a25779a34c
Signed-off-by: Daniel Gryniewicz <dang(a)redhat.com>
---
M src/CMakeLists.txt
M src/nfs-ganesha.spec-in.cmake
2 files changed, 7 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/76/448276/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/448276
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: I9fe1d3a119c8e2696055f249d07f75a25779a34c
Gerrit-Change-Number: 448276
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Gryniewicz <dang(a)redhat.com>
Gerrit-MessageType: newchange
5 years, 10 months
回复:Re: 回复:Re: Re: Input/output_error_on_CentOS7.2_with_nfs4.1
by QR
OK, got it. Thanks very much.
--------------------------------
----- 原始邮件 -----
发件人:Sriram Patil <sriramp(a)vmware.com>
收件人:"zhbingyin(a)sina.com" <zhbingyin(a)sina.com>, Jeff Layton <jlayton(a)redhat.com>, ganesha-devel <devel(a)lists.nfs-ganesha.org>
主题:Re: 回复:Re: [NFS-Ganesha-Devel] Re: Input/output_error_on_CentOS7.2_with_nfs4.1
日期:2019年03月18日 11点11分
This is NFS client version. So, it is not ganesha which is incompatible. NFS kernel client had bugs which were resolved. So, kind of had to find out the right kernel version that supports NFS4.1 mounts by trial and error.
- Sriram
From: QR <zhbingyin(a)sina.com>
Reply-To: "zhbingyin(a)sina.com" <zhbingyin(a)sina.com>
Date: Sunday, March 17, 2019 at 12:28 PM
To: Sriram Patil <sriramp(a)vmware.com>, Jeff Layton <jlayton(a)redhat.com>, ganesha-devel <devel(a)lists.nfs-ganesha.org>
Subject: 回复:Re: [NFS-Ganesha-Devel] Re: Input/output error on CentOS7.2 with nfs4.1
Hi Sriram,
Is there any document about which kernel version ganesha supports for using NFSv4.1 mounts?
--------------------------------
-----
原始邮件 -----
发件人:Sriram Patil <sriramp(a)vmware.com>
收件人:Jeff Layton <jlayton(a)redhat.com>, "zhbingyin(a)sina.com" <zhbingyin(a)sina.com>, ganesha-devel <devel(a)lists.nfs-ganesha.org>
主题:Re: [NFS-Ganesha-Devel] Re: Input/output error on CentOS7.2 with nfs4.1
日期:2019年03月17日 10点23分
Yes, you need centos kernel version >= 3.10.0-514 for using NFSv4.1 mounts.
- Sriram
On 3/16/19, 5:53 PM, "Jeff Layton" <jlayton(a)redhat.com> wrote:
On Sat, 2019-03-16 at 16:14 +0800, QR wrote:
> We are getting "Input/output error" when reading regular files on CentOS7.2 with nfs4.1(4.0 is ok).
> Is anyone know about this?
> Thanks in advance.
>
> Ganesha server info
> kernel version : 3.10.0-693.17.1.el7.x86_64(CentOS 7.5.1804)
> ganesha version: 3bd444c9706e02b778343c9787a7ce3411a5ce61(V2.8-dev.22)
> FSAL : gluster
> nfs client info
> kernel version : 3.10.0-327.el7.x86_64(CentOS 7.2.1511)
> nfs version : nfs4.1
> mount options : rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=XXX,local_lock=none,addr=YYY
I'd suspect a bug in the client with a kernel that old. You may want to
update the kernel on the client and test again.
--
Jeff Layton <jlayton(a)redhat.com>
_______________________________________________
Devel mailing list -- devel(a)lists.nfs-ganesha.org
To unsubscribe send an email to devel-leave(a)lists.nfs-ganesha.org
5 years, 10 months
Input/output error on CentOS7.2 with nfs4.1
by QR
We are getting "Input/output error" when reading regular files on CentOS7.2 with nfs4.1(4.0 is ok).Is anyone know about this?Thanks in advance.
Ganesha server info kernel version : 3.10.0-693.17.1.el7.x86_64(CentOS 7.5.1804) ganesha version: 3bd444c9706e02b778343c9787a7ce3411a5ce61(V2.8-dev.22) FSAL : glusternfs client info kernel version : 3.10.0-327.el7.x86_64(CentOS 7.2.1511) nfs version : nfs4.1 mount options : rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=XXX,local_lock=none,addr=YYY
5 years, 10 months
Re: Input/output error on CentOS7.2 with nfs4.1
by QR
Thanks for your reply.
But if test with nfsd, nfs4.1 on CentOS7.2 is ok. So i'm confused.
--------------------------------
----- 原始邮件 -----
发件人:Jeff Layton <jlayton(a)redhat.com>
收件人:zhbingyin(a)sina.com, ganesha-devel <devel(a)lists.nfs-ganesha.org>
主题:[NFS-Ganesha-Devel] Re: Input/output error on CentOS7.2 with nfs4.1
日期:2019年03月16日 20点23分
On Sat, 2019-03-16 at 16:14 +0800, QR wrote:
> We are getting "Input/output error" when reading regular files on CentOS7.2 with nfs4.1(4.0 is ok).
> Is anyone know about this?
> Thanks in advance.
>
> Ganesha server info
> kernel version : 3.10.0-693.17.1.el7.x86_64(CentOS 7.5.1804)
> ganesha version: 3bd444c9706e02b778343c9787a7ce3411a5ce61(V2.8-dev.22)
> FSAL : gluster
> nfs client info
> kernel version : 3.10.0-327.el7.x86_64(CentOS 7.2.1511)
> nfs version : nfs4.1
> mount options : rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=XXX,local_lock=none,addr=YYY
I'd suspect a bug in the client with a kernel that old. You may want to
update the kernel on the client and test again.
--
Jeff Layton <jlayton(a)redhat.com>
_______________________________________________
Devel mailing list -- devel(a)lists.nfs-ganesha.org
To unsubscribe send an email to devel-leave(a)lists.nfs-ganesha.org
5 years, 10 months
Announce Push of V2.8-dev.22
by Frank Filz
Branch next
Tag:V2.8-dev.22
Release Highlights
* Several recovery fixes in SAL and Rados
* MDCACHE several dirent cache fixes
* FSAL_GLUSTER: Fix a fd ref leak in lock_op2
* 9P: finer grain control of building 9P support into RPMs
* FSAL_GLUSTER: add support for security labels
* Don't log fields of file handle in nfs4_Is_Fh_Invalid and
nfs4_FSALToFhandle
Signed-off-by: Frank S. Filz <ffilzlnx(a)mindspring.com>
Contents:
3bd444c Frank S. Filz V2.8-dev.22
fe44c82 Arjun Sharma FSAL_GLUSTER: add support for security labels
f682cd9 Daniel Gryniewicz MDCACHE - Keep an entry pointer in dirent when
ref'd
7558806 Daniel Gryniewicz MDCACHE - Fix mis-set of first ck in directory
91a3def Daniel Gryniewicz MDCACHE_DEBUG - Fix for updated lock structures
8a7297d Madhu Thorat Don't log fields of file handle in nfs4_Is_Fh_Invalid
and nfs4_FSALToFhandle
6d9ec43 Madhu Thorat Unref 'prev_chunk' after it is used by
'glist_last_entry'
9f13a94 Kaleb S. KEITHLEY 9P: finer grain control of building 9P support
into RPMs
c5481b5 Soumya Koduri FSAL_GLUSTER: Fix a fd ref leak in lock_op2
40c769a Jeff Layton config_samples: remove misleading comment in sample
ceph.conf
dbbee33 Jeff Layton SAL: take mutex once when checking against the clid list
d2371e4 Jeff Layton rados_cluster: use rados_ng_pop_clid_entry
55b663b Jeff Layton rados_recov: fix buffer handling of clid entries from
rados omap
5 years, 10 months
Change in ...nfs-ganesha[next]: config_samples: remove misleading comment in sample ceph.conf
by Jeff Layton (GerritHub)
Jeff Layton has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/448188
Change subject: config_samples: remove misleading comment in sample ceph.conf
......................................................................
config_samples: remove misleading comment in sample ceph.conf
We can export multiple filesystems from the same ganesha daemon,
providing they are all part of the same cluster.
Change-Id: I61e58ecfb22acc50ae39828174f37b859502c7e2
Signed-off-by: Jeff Layton <jlayton(a)redhat.com>
---
M src/config_samples/ceph.conf
1 file changed, 2 insertions(+), 3 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/88/448188/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/448188
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: I61e58ecfb22acc50ae39828174f37b859502c7e2
Gerrit-Change-Number: 448188
Gerrit-PatchSet: 1
Gerrit-Owner: Jeff Layton <jlayton(a)redhat.com>
Gerrit-MessageType: newchange
5 years, 10 months
Change in ...nfs-ganesha[next]: MDCACHE - Keep an entry pointer in dirent when ref'd
by Daniel Gryniewicz (GerritHub)
Daniel Gryniewicz has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/448058
Change subject: MDCACHE - Keep an entry pointer in dirent when ref'd
......................................................................
MDCACHE - Keep an entry pointer in dirent when ref'd
When a dirent has a ref on an entry, it may still not be able to look
the entry up, because it may become unreachable. In this case, we can't
drop the ref.
Instead, keep a temporary pointer to the entry that is valid only when
we have the ref, and use this instead of looking it up.
Change-Id: I1b87d4fb4201885dd29220dd5515fdaea39ff7c4
Signed-off-by: Daniel Gryniewicz <dang(a)redhat.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_avl.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_int.h
3 files changed, 44 insertions(+), 32 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/58/448058/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/448058
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: I1b87d4fb4201885dd29220dd5515fdaea39ff7c4
Gerrit-Change-Number: 448058
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Gryniewicz <dang(a)redhat.com>
Gerrit-MessageType: newchange
5 years, 10 months