Indeed, for a very large directory you might get some speedup using

samples/ilm/mmfind directory -ls -maxdepth 1

There are some caveats, the same as those for the command upon which 
mmfind rests, mmapplypolicy.




From:   Skylar Thompson <[email protected]>
To:     [email protected]
Date:   11/30/2017 04:44 PM
Subject:        Re: [gpfsug-discuss] FIle system vs Database
Sent by:        [email protected]



Interesting, thanks for the information Marc. Could there be an 
improvement
for something like "ls -l some-dir" using the API, though? Instead of 
getdents +
stat for every file (entering and leaving kernel mode many times), could 
it be done
in one operation with one context switch?




_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss

Reply via email to