It would be good to know where the loop came from.
Looking at the code with that patch, I don’t see it. If you could turn on some
debug and re-create and post the log, maybe I can figure it out.
Thanks
Frank
From: steve landiss [mailto:[email protected]]
Sent: Wednesday, July 20, 2016 1:05 PM
To: Frank Filz <[email protected]>;
[email protected];
[email protected]
Subject: Re: [Nfs-ganesha-devel] show_tree endless loop
I am indeed using that patch. Looks like the linked list has a loop.
In any event, that function does not seem to do much other than log a message
(correct?). I just disabled that function and I am able to export my drives now
On Wednesday, July 20, 2016 12:59 PM, Frank Filz <[email protected]
<mailto:[email protected]> > wrote:
I assume you’re using this patch:
https://review.gerrithub.io/282540
I’m not quite sure why that would result in an endless loop.
You might want to turn on FSAL debug.
Frank
From: steve landiss [mailto:[email protected]]
Sent: Wednesday, July 20, 2016 11:43 AM
To: [email protected]
<mailto:[email protected]> ;
[email protected]
<mailto:[email protected]>
Subject: [Nfs-ganesha-devel] show_tree endless loop
After I mount a drive, I am using dbus-send to export the mounted drive.
nfs-ganesha ends in an endless loop at glist_for_each in FSAL/commonlib.c
void show_tree(struct fsal_filesystem *this, int nest)
{
struct glist_head *glist;
char blanks[1024];
memset(blanks, ' ', nest * 2);
blanks[nest * 2] = '\0';
LogInfo(COMPONENT_FSAL,
"%s%s",
blanks, this->path);
/* Claim the children now */
glist_for_each(glist, &this->children) {
show_tree(glist_entry(glist,
struct fsal_filesystem,
siblings),
nest + 1);
}
}
_____
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
This email has been checked for viruses by Avast antivirus software.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Nfs-ganesha-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel