On 01/27/2018 05:39 PM, Peng Yu wrote:
Here is the first 100 lines of the output of running `strace -ve getdents find -maxdepth 1 -name '*.tsv'`.
glusterfs doesn't provide D_TYPE information: getdents(4, {{d_ino=10054722685526780333, ..., d_type=DT_UNKNOWN} ... Nevertheless, it is strange that find calls newfstatat() also in the case of "-maxdepth 1" - it shouldn't need to. Have a nice day, Berny