You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm writing a fs it's base on a netdisc, now i have two problems, I hope you can take some time to answer:
the first is when call readdir method, i ll request netdisc to read file list, but always lose some file in display, around 23, the total is 37. i printed filename before call method 'pyfuse3.readdir_reply' , the file list is complete, but in terminal is always lose some files, i don't know what happend, maybe i usage is wrong, there is my code snippet:
async def readdir(self, fh, start_id, token):
if start_id == -1:
return
else:
f = FileMgr.get_from_fs_id(fh)
files = self.fs.dir_cache('/' if not f else f.path, pyfuse3.ROOT_INODE if not f else f.fs_id)
for file in files:
pyfuse3.readdir_reply(token, file.filename_bytes, await self.getattr(file.fs_id, None), -1)
another question is when i mounted fs for nearly ten minutes , the server was always crash,this is error log
don't have enough error info , i can't tace back to the point of error.
last, the pyfuse is a very useful lib, thankyou.
The text was updated successfully, but these errors were encountered:
smallcham
changed the title
two question about the method 'readdir' and server crash
Two question about the method 'readdir' and server crash
Apr 16, 2020
smallcham
changed the title
Two question about the method 'readdir' and server crash
Two questions about the method 'readdir' and server crash
Apr 16, 2020
Thanks for your interest in pyfuse3! As far as I can tell, this is a question about how to use fuse rather than a bug report. Could you please send your question to the FUSE mailing list (https://lists.sourceforge.net/lists/listinfo/fuse-devel), instead of using the issue tracker? I'd like to reserve use of the latter to actually track issues and not use it for discussion.
i'm writing a fs it's base on a netdisc, now i have two problems, I hope you can take some time to answer:
the first is when call readdir method, i ll request netdisc to read file list, but always lose some file in display, around 23, the total is 37. i printed filename before call method 'pyfuse3.readdir_reply' , the file list is complete, but in terminal is always lose some files, i don't know what happend, maybe i usage is wrong, there is my code snippet:
another question is when i mounted fs for nearly ten minutes , the server was always crash,this is error log
"Cannot convert coroutine to pyfuse3.EntryAttributes
2020-04-16 17:08:46.687 MainThread: [pyfuse3] Calling fuse_session_destroy
2020-04-16 17:08:46.687 MainThread: [pyfuse3] Calling fuse_session_unmount"
don't have enough error info , i can't tace back to the point of error.
last, the pyfuse is a very useful lib, thankyou.
The text was updated successfully, but these errors were encountered: