-
What would you like to be added: Why is this needed: |
Beta Was this translation helpful? Give feedback.
Answered by
davies
Dec 21, 2021
Replies: 1 comment
-
To understand what happens behind
It calls opendir, readdir, readdir, releasedir. For the first readdir, JuiceFS will fetch all the children for the given directory in single call and save them for future readdir(). So the question will be is meta.Readdir() atomic or not? the meta.Readdir() has two part: list all the entries and fetch all the attributes. they are different in three engines:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
davies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To understand what happens behind
ls
command, you cancat
the accesslog while executels
command, here is what I got:It calls opendir, readdir, readdir, releasedir. For the first readdir, JuiceFS will f…