<div dir="ltr"><pre style="white-space:pre-wrap;font-size:14px;word-wrap:break-word;width:1602.64px;color:rgb(0,0,0);line-height:23.324px">1,In the code,readdir-ahead didn&#39;t package up the readdir request into a bigger request, it just packaged up the dentries, if the dentries&#39; size was greater than the request size, the bigger request returned to the client, wasn&#39;t it?
2,The requests from the Readdir-ahead Xlator wind down to next Xlator ,did they send to a server or brodcast to all the servers?
3,As you have said, the preload is in progress, a readdir from application waits for its completion. And If I change the buffer(request) size, will the application wait for a long time? Could it be a stream, the readdir from application fetches dentries in the buffer, and the readdir-ahead xlator pre-fetches dentries from the servers?
4,When does it can be a larger buffer, like io-cache,which cached the data/dentries read before? As you know, ls is so slow.</pre></div>