• J. R. Okajima's avatar
    aufs: ioctl, rdu (readdir in userspace) · 681a21c3
    J. R. Okajima authored
    
    
    For a directory which has millions of files, aufs VDIR consumes
    much memory. In this case, RDU (readdir(3) in user-space) is definitely
    better.
    If you enable CONFIG_AUFS_RDU at compiling aufs, install libau.so from
    aufs-util.git, and set some environment variables, then you can use this
    feature. When readdir(3) in libau.so receives an aufs dir, it issues
    ioctl(2) instead of regular readdir(3).
    All merging and whiteout handling are done in userspace.
    Signed-off-by: default avatarJ. R. Okajima <hooanon05g@gmail.com>
    681a21c3
Kconfig 4.7 KB