16 May 11:17
After 'readdir' operation, gettattr for parent directory is getting called in the midst, even when gettattr for the underlying files/folders is not over
Hello I hope you are doing well. I am Shobhit Puri, pursuing my undergraduate from Indian Institute of Information Technology, India. I am working on integrating FUSE with Globus gridftp client API. I am facing an error sometimes when another operation wants to use the globus handle which is already occupied with some other operation. For eg:- In terms of FUSE operations: After a call to readdir operation the getattr operation for all the underlying files and folders in called. Now, if the number of files are more in number, then, while the gettattr function is already in progress for the underlying files, FUSE calls for getattr operation for the parent directory before the getattr for the underlying files is over. This gives the following errors: sometimes it shows "operation already in progress", sometimes "Assertion node failed in file globus_ftp_client.c at line 331". I was thinking of creating a connection pool in globus and allocating some other handle from the pool to the process who is trying to access one handle which is already in use. Have I understood the problem clearly? Is it a problem of FUSE code? I am asking because when I just use FUSE program without integrating it with the globus gridftp, their is not such call in the midst, when other getattr operation are still going. Can you please guide me regrading the same? I would be really thankful to you for your kind help. Thanks in advance(Continue reading)
RSS Feed