<font size=2 face="sans-serif">Indeed, for a very large directory you
might get some speedup using</font><br><br><font size=2 face="sans-serif">samples/ilm/mmfind directory -ls -maxdepth
1<br></font><br><font size=2 face="sans-serif">There are some caveats, the same as
those for the command upon which mmfind rests, mmapplypolicy.</font><br><br><br><br><br><font size=1 color=#5f5f5f face="sans-serif">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Skylar Thompson &lt;skylar2@u.washington.edu&gt;</font><br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">gpfsug-discuss@spectrumscale.org</font><br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">11/30/2017 04:44 PM</font><br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">Re: [gpfsug-discuss]
FIle system vs Database</font><br><font size=1 color=#5f5f5f face="sans-serif">Sent by: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">gpfsug-discuss-bounces@spectrumscale.org</font><br><hr noshade><br><br><br><tt><font size=2>Interesting, thanks for the information Marc. Could
there be an improvement<br>for something like &quot;ls -l some-dir&quot; using the API, though? Instead
of getdents +<br>stat for every file (entering and leaving kernel mode many times), could
it be done<br>in one operation with one context switch?<br><br></font></tt><br><BR>