Change in ...nfs-ganesha[next]: Silly patch to make some checkpatch errors.
by Frank Filz (GerritHub)
Frank Filz has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/537810 )
Change subject: Silly patch to make some checkpatch errors.
......................................................................
Silly patch to make some checkpatch errors.
I can also mispel someting in the commit message message.
Change-Id: I6d0e24f4edd5afe404e45d54b75eec5175f08c7a
Signed-off-by: Frank S. Filz <ffilzlnx(a)mindspring.com>
---
M src/MainNFSD/nfs_main.c
1 file changed, 15 insertions(+), 3 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/10/537810/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/537810
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: I6d0e24f4edd5afe404e45d54b75eec5175f08c7a
Gerrit-Change-Number: 537810
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx(a)mindspring.com>
Gerrit-MessageType: newchange
1 week, 4 days
NFS Ganesha in mdcache_avl_qp_lookup_s()
by Krishna Harathi
Frank,
Long time. We are seeing a crash shown below. After seeing the fix in this commit - https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/516675,
I am posting a possible fix.
(gdb) where
#0 0x00000000004f2a34 in avl_dirent_hk_cmpf (lhs=0x2, rhs=0x7f82ebf8b5c8) at ../../../../FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_avl.h:67
#1 0x00000000004f3d48 in avltree_do_lookup (tree=0x7f82d31bbd90, cmp_fn=0x4f2a30 <avl_dirent_hk_cmpf>, is_left=<synthetic pointer>,
unbalanced=<synthetic pointer>, pparent=<synthetic pointer>, key=0x7f82ebf8b5c8) at ../../../../include/avltree.h:223
#2 avltree_inline_lookup (cmp_fn=0x4f2a30 <avl_dirent_hk_cmpf>, tree=0x7f82d31bbd90, key=0x7f82ebf8b5c8) at ../../../../include/avltree.h:244
#3 avltree_lookup (tree=0x7f82d31bbd90, key=0x7f82ebf8b5c8) at ../../../../include/avltree.h:252
#4 mdcache_avl_qp_lookup_s (entry=entry@entry=0x7f82d31bb800, name=name@entry=0x7f82c606f440 "meta.tmp", maxj=maxj@entry=1)
at ../../../../FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_avl.c:779
Possible fix –
diff mdcache_avl.c mdcache_avl.c.new
760a761,762
> memset(&v, 0, sizeof(v));
>
I also suggest reviewing all callers of this avltree_lookup() for potential similar problems. Comments?
Regards.
Krishna Harathi
_____________________________________________________________________________________________________________
[cid:arcserve-email-logo_566d469b-c8dc-46eb-909b-300e3f3e47a1.jpg]<https://arcserve.com/>
Krishna Harathi | Senior Manager - Engineering
Office: 503.475.5279 | Mobile: 503.475.5279 | krishna.harathi(a)arcserve.com
arcserve.com<https://www.arcserve.com/> | Twitter<https://twitter.com/Arcserve> | LinkedIn<https://www.linkedin.com/company/arcserve/> | YouTube<https://www.youtube.com/user/arcserve>
_____________________________________________________________________________________________________________
If you are not the intended recipient of this message or received it erroneously, please notify the sender and delete it, together with any attachments, and be advised that any dissemination or copying of this message is prohibited.
1 week, 4 days
Re: Ganesha crash while doing Delegation recall
by Frank Filz
Delegations have not really been tested in quite some time.
Frank
From: Sunil Bhargo [mailto:sbhargo@vmware.com]
Sent: Tuesday, May 3, 2022 4:19 PM
To: Frank Filz <ffilzlnx(a)mindspring.com>; devel(a)lists.nfs-ganesha.org
Cc: dang(a)redhat.com; Sriram Patil <sriramp(a)vmware.com>
Subject: [NFS-Ganesha-Devel] Re: Ganesha crash while doing Delegation recall
Frank,
A question regarding the status of delegation on recent releases. Are the delegations supported or tested thoroughly in 4.0.5 or 3.5 Ganesha release.
Thanks,
Sunil Bhargo
From: Frank Filz <ffilzlnx(a)mindspring.com <mailto:ffilzlnx@mindspring.com> >
Sent: Saturday, April 30, 2022 4:45 AM
To: Sunil Bhargo <sbhargo(a)vmware.com <mailto:sbhargo@vmware.com> >; devel(a)lists.nfs-ganesha.org <mailto:devel@lists.nfs-ganesha.org>
Cc: dang(a)redhat.com <mailto:dang@redhat.com> ; Sriram Patil <sriramp(a)vmware.com <mailto:sriramp@vmware.com> >
Subject: RE: [NFS-Ganesha-Devel] Ganesha crash while doing Delegation recall
⚠ External Email
V2.8 is pretty old and no longer supported. Additionally, I don’t know if delegations have been tested or supported recently at all so I doubt there’s any fixes but you could certainly try a newer release, or look through the git history.
Frank
From: Sunil Bhargo [mailto:sbhargo@vmware.com]
Sent: Thursday, April 28, 2022 6:21 AM
To: devel(a)lists.nfs-ganesha.org <mailto:devel@lists.nfs-ganesha.org>
Cc: ffilzlnx(a)mindspring.com <mailto:ffilzlnx@mindspring.com> ; dang(a)redhat.com <mailto:dang@redhat.com> ; Sriram Patil <sriramp(a)vmware.com <mailto:sriramp@vmware.com> >
Subject: [NFS-Ganesha-Devel] Ganesha crash while doing Delegation recall
Hi,
Currently seeing the following crash and it is a recurrent crash. We are using ganesha 2.8.4. Can someone please help in telling if this is a known issue and whether it is fixed in later releases ?
(gdb) bt
#0 0x00007fcc26df6570 in pthread_mutex_lock () from /lib/libpthread.so.0
#1 0x00007fcc2760906c in svc_rqst_expire_insert () from /lib/libntirpc.so.1.8
#2 0x00007fcc275f2e19 in clnt_req_callback () from /lib/libntirpc.so.1.8
#3 0x00007fcc27855c3e in nfs_rpc_call () from /lib/libganesha_nfsd.so.2.8
#4 0x00007fcc27856a13 in nfs_rpc_cb_single () from /lib/libganesha_nfsd.so.2.8
#5 0x00007fcc278837a4 in delegrecall_one () from /lib/libganesha_nfsd.so.2.8
#6 0x00007fcc27884422 in delegrecall_impl () from /lib/libganesha_nfsd.so.2.8
#7 0x00007fcc27886900 in queue_delegrecall () from /lib/libganesha_nfsd.so.2.8
#8 0x00007fcc278e6da9 in fridgethr_start_routine () from /lib/libganesha_nfsd.so.2.8
#9 0x00007fcc26df3f87 in start_thread () from /lib/libpthread.so.0
#10 0x00007fcc268755bf in clone () from /lib/libc.so.6
This seems like a channel is removed while it is being accessed by the backchannel.
Thanks,
Sunil Bhargo
_____
⚠ External Email: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender.
1 week, 6 days
Change in ...nfs-ganesha[next]: EXPORT: Decrease the default Prefer Read/Write size
by vicente (GerritHub)
vicente has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/537606 )
Change subject: EXPORT: Decrease the default Prefer Read/Write size
......................................................................
EXPORT: Decrease the default Prefer Read/Write size
- For some older nfs client, e.g. libnfs 1.x,
could not handle the read/write size more
than 1M. Just decrease the default prefer
read/write size to 1M for general nfs client.
Change-Id: I957c0d90b2620aaf4728f8b62ee20fbbf303a059
Signed-off-by: Vicente Cheng <freeze.bilsted(a)gmail.com>
---
M src/support/exports.c
1 file changed, 17 insertions(+), 2 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/06/537606/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/537606
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: I957c0d90b2620aaf4728f8b62ee20fbbf303a059
Gerrit-Change-Number: 537606
Gerrit-PatchSet: 1
Gerrit-Owner: vicente <freeze.bilsted(a)gmail.com>
Gerrit-MessageType: newchange
1 week, 6 days
Re: Ganesha crash while doing Delegation recall
by Frank Filz
V2.8 is pretty old and no longer supported. Additionally, I don't know if
delegations have been tested or supported recently at all so I doubt there's
any fixes but you could certainly try a newer release, or look through the
git history.
Frank
From: Sunil Bhargo [mailto:sbhargo@vmware.com]
Sent: Thursday, April 28, 2022 6:21 AM
To: devel(a)lists.nfs-ganesha.org
Cc: ffilzlnx(a)mindspring.com; dang(a)redhat.com; Sriram Patil
<sriramp(a)vmware.com>
Subject: [NFS-Ganesha-Devel] Ganesha crash while doing Delegation recall
Hi,
Currently seeing the following crash and it is a recurrent crash. We
are using ganesha 2.8.4. Can someone please help in telling if this is a
known issue and whether it is fixed in later releases ?
(gdb) bt
#0 0x00007fcc26df6570 in pthread_mutex_lock () from /lib/libpthread.so.0
#1 0x00007fcc2760906c in svc_rqst_expire_insert () from
/lib/libntirpc.so.1.8
#2 0x00007fcc275f2e19 in clnt_req_callback () from /lib/libntirpc.so.1.8
#3 0x00007fcc27855c3e in nfs_rpc_call () from /lib/libganesha_nfsd.so.2.8
#4 0x00007fcc27856a13 in nfs_rpc_cb_single () from
/lib/libganesha_nfsd.so.2.8
#5 0x00007fcc278837a4 in delegrecall_one () from
/lib/libganesha_nfsd.so.2.8
#6 0x00007fcc27884422 in delegrecall_impl () from
/lib/libganesha_nfsd.so.2.8
#7 0x00007fcc27886900 in queue_delegrecall () from
/lib/libganesha_nfsd.so.2.8
#8 0x00007fcc278e6da9 in fridgethr_start_routine () from
/lib/libganesha_nfsd.so.2.8
#9 0x00007fcc26df3f87 in start_thread () from /lib/libpthread.so.0
#10 0x00007fcc268755bf in clone () from /lib/libc.so.6
This seems like a channel is removed while it is being accessed by the
backchannel.
Thanks,
Sunil Bhargo
1 week, 6 days
Re: Ganesha crash while doing Delegation recall
by Frank Filz
If you can narrow down which operations are the cause of the performance degradation that might help. 8k I/Os could be I/O impact or could be metadata impact or just operation latency.
Frank
From: Sriram Patil [mailto:sriramp@vmware.com]
Sent: Tuesday, May 3, 2022 2:49 PM
To: Frank Filz <ffilzlnx(a)mindspring.com>; Sunil Bhargo <sbhargo(a)vmware.com>; devel(a)lists.nfs-ganesha.org
Cc: dang(a)redhat.com
Subject: [NFS-Ganesha-Devel] Re: Ganesha crash while doing Delegation recall
We use custom FSAL layer, which cannot be open sourced unfortunately. Let me try out 4.0.5 and see if the perf regressions are still there.
Thanks,
Sriram
From: Frank Filz <ffilzlnx(a)mindspring.com <mailto:ffilzlnx@mindspring.com> >
Date: Tuesday, May 3, 2022 at 1:57 PM
To: Sriram Patil <sriramp(a)vmware.com <mailto:sriramp@vmware.com> >, Sunil Bhargo <sbhargo(a)vmware.com <mailto:sbhargo@vmware.com> >, devel(a)lists.nfs-ganesha.org <mailto:devel@lists.nfs-ganesha.org> <devel(a)lists.nfs-ganesha.org <mailto:devel@lists.nfs-ganesha.org> >
Cc: dang(a)redhat.com <mailto:dang@redhat.com> <dang(a)redhat.com <mailto:dang@redhat.com> >
Subject: RE: [NFS-Ganesha-Devel] Re: Ganesha crash while doing Delegation recall
⚠ External Email
You are using FSAL_VFS? I think there is some stuff in 4.0.x that might help, we will be tagging 4.1 in the next few weeks, so if you want to try 4.0.5 and see how that fares that would be good information. It would be good to understand what might have caused such a big performance regression.
Frank
From: Sriram Patil [mailto:sriramp@vmware.com]
Sent: Tuesday, May 3, 2022 12:02 PM
To: Frank Filz <ffilzlnx(a)mindspring.com <mailto:ffilzlnx@mindspring.com> >; Sunil Bhargo <sbhargo(a)vmware.com <mailto:sbhargo@vmware.com> >; devel(a)lists.nfs-ganesha.org <mailto:devel@lists.nfs-ganesha.org>
Cc: dang(a)redhat.com <mailto:dang@redhat.com>
Subject: [NFS-Ganesha-Devel] Re: Ganesha crash while doing Delegation recall
Hi Frank,
Thanks for the response. I also though disabling delegations is a safer bet at this point. But I wanted to check regarding latest version. We tried upgrading to version 3.5 a few months back and then observer about 15-25% regression in our perf tests for 8k RW on NFSV3 as well as NFSv4.1. Were there any perf fixes that went in after 3.5?
This perf regression is holding us back from upgrading.
Thanks,
Sriram
From: Frank Filz <ffilzlnx(a)mindspring.com <mailto:ffilzlnx@mindspring.com> >
Date: Friday, April 29, 2022 at 4:15 PM
To: Sunil Bhargo <sbhargo(a)vmware.com <mailto:sbhargo@vmware.com> >, devel(a)lists.nfs-ganesha.org <mailto:devel@lists.nfs-ganesha.org> <devel(a)lists.nfs-ganesha.org <mailto:devel@lists.nfs-ganesha.org> >
Cc: dang(a)redhat.com <mailto:dang@redhat.com> <dang(a)redhat.com <mailto:dang@redhat.com> >, Sriram Patil <sriramp(a)vmware.com <mailto:sriramp@vmware.com> >
Subject: RE: [NFS-Ganesha-Devel] Ganesha crash while doing Delegation recall
⚠ External Email
V2.8 is pretty old and no longer supported. Additionally, I don’t know if delegations have been tested or supported recently at all so I doubt there’s any fixes but you could certainly try a newer release, or look through the git history.
Frank
From: Sunil Bhargo [mailto:sbhargo@vmware.com]
Sent: Thursday, April 28, 2022 6:21 AM
To: devel(a)lists.nfs-ganesha.org <mailto:devel@lists.nfs-ganesha.org>
Cc: ffilzlnx(a)mindspring.com <mailto:ffilzlnx@mindspring.com> ; dang(a)redhat.com <mailto:dang@redhat.com> ; Sriram Patil <sriramp(a)vmware.com <mailto:sriramp@vmware.com> >
Subject: [NFS-Ganesha-Devel] Ganesha crash while doing Delegation recall
Hi,
Currently seeing the following crash and it is a recurrent crash. We are using ganesha 2.8.4. Can someone please help in telling if this is a known issue and whether it is fixed in later releases ?
(gdb) bt
#0 0x00007fcc26df6570 in pthread_mutex_lock () from /lib/libpthread.so.0
#1 0x00007fcc2760906c in svc_rqst_expire_insert () from /lib/libntirpc.so.1.8
#2 0x00007fcc275f2e19 in clnt_req_callback () from /lib/libntirpc.so.1.8
#3 0x00007fcc27855c3e in nfs_rpc_call () from /lib/libganesha_nfsd.so.2.8
#4 0x00007fcc27856a13 in nfs_rpc_cb_single () from /lib/libganesha_nfsd.so.2.8
#5 0x00007fcc278837a4 in delegrecall_one () from /lib/libganesha_nfsd.so.2.8
#6 0x00007fcc27884422 in delegrecall_impl () from /lib/libganesha_nfsd.so.2.8
#7 0x00007fcc27886900 in queue_delegrecall () from /lib/libganesha_nfsd.so.2.8
#8 0x00007fcc278e6da9 in fridgethr_start_routine () from /lib/libganesha_nfsd.so.2.8
#9 0x00007fcc26df3f87 in start_thread () from /lib/libpthread.so.0
#10 0x00007fcc268755bf in clone () from /lib/libc.so.6
This seems like a channel is removed while it is being accessed by the backchannel.
Thanks,
Sunil Bhargo
_____
⚠ External Email: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender.
2 weeks
Re: Ganesha crash while doing Delegation recall
by Frank Filz
You are using FSAL_VFS? I think there is some stuff in 4.0.x that might help, we will be tagging 4.1 in the next few weeks, so if you want to try 4.0.5 and see how that fares that would be good information. It would be good to understand what might have caused such a big performance regression.
Frank
From: Sriram Patil [mailto:sriramp@vmware.com]
Sent: Tuesday, May 3, 2022 12:02 PM
To: Frank Filz <ffilzlnx(a)mindspring.com>; Sunil Bhargo <sbhargo(a)vmware.com>; devel(a)lists.nfs-ganesha.org
Cc: dang(a)redhat.com
Subject: [NFS-Ganesha-Devel] Re: Ganesha crash while doing Delegation recall
Hi Frank,
Thanks for the response. I also though disabling delegations is a safer bet at this point. But I wanted to check regarding latest version. We tried upgrading to version 3.5 a few months back and then observer about 15-25% regression in our perf tests for 8k RW on NFSV3 as well as NFSv4.1. Were there any perf fixes that went in after 3.5?
This perf regression is holding us back from upgrading.
Thanks,
Sriram
From: Frank Filz <ffilzlnx(a)mindspring.com <mailto:ffilzlnx@mindspring.com> >
Date: Friday, April 29, 2022 at 4:15 PM
To: Sunil Bhargo <sbhargo(a)vmware.com <mailto:sbhargo@vmware.com> >, devel(a)lists.nfs-ganesha.org <mailto:devel@lists.nfs-ganesha.org> <devel(a)lists.nfs-ganesha.org <mailto:devel@lists.nfs-ganesha.org> >
Cc: dang(a)redhat.com <mailto:dang@redhat.com> <dang(a)redhat.com <mailto:dang@redhat.com> >, Sriram Patil <sriramp(a)vmware.com <mailto:sriramp@vmware.com> >
Subject: RE: [NFS-Ganesha-Devel] Ganesha crash while doing Delegation recall
⚠ External Email
V2.8 is pretty old and no longer supported. Additionally, I don’t know if delegations have been tested or supported recently at all so I doubt there’s any fixes but you could certainly try a newer release, or look through the git history.
Frank
From: Sunil Bhargo [mailto:sbhargo@vmware.com]
Sent: Thursday, April 28, 2022 6:21 AM
To: devel(a)lists.nfs-ganesha.org <mailto:devel@lists.nfs-ganesha.org>
Cc: ffilzlnx(a)mindspring.com <mailto:ffilzlnx@mindspring.com> ; dang(a)redhat.com <mailto:dang@redhat.com> ; Sriram Patil <sriramp(a)vmware.com <mailto:sriramp@vmware.com> >
Subject: [NFS-Ganesha-Devel] Ganesha crash while doing Delegation recall
Hi,
Currently seeing the following crash and it is a recurrent crash. We are using ganesha 2.8.4. Can someone please help in telling if this is a known issue and whether it is fixed in later releases ?
(gdb) bt
#0 0x00007fcc26df6570 in pthread_mutex_lock () from /lib/libpthread.so.0
#1 0x00007fcc2760906c in svc_rqst_expire_insert () from /lib/libntirpc.so.1.8
#2 0x00007fcc275f2e19 in clnt_req_callback () from /lib/libntirpc.so.1.8
#3 0x00007fcc27855c3e in nfs_rpc_call () from /lib/libganesha_nfsd.so.2.8
#4 0x00007fcc27856a13 in nfs_rpc_cb_single () from /lib/libganesha_nfsd.so.2.8
#5 0x00007fcc278837a4 in delegrecall_one () from /lib/libganesha_nfsd.so.2.8
#6 0x00007fcc27884422 in delegrecall_impl () from /lib/libganesha_nfsd.so.2.8
#7 0x00007fcc27886900 in queue_delegrecall () from /lib/libganesha_nfsd.so.2.8
#8 0x00007fcc278e6da9 in fridgethr_start_routine () from /lib/libganesha_nfsd.so.2.8
#9 0x00007fcc26df3f87 in start_thread () from /lib/libpthread.so.0
#10 0x00007fcc268755bf in clone () from /lib/libc.so.6
This seems like a channel is removed while it is being accessed by the backchannel.
Thanks,
Sunil Bhargo
_____
⚠ External Email: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender.
2 weeks