Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add module parameter to disable prefetch in zfs_readdir #16318

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 15, 2024

  1. Add module parameter to disable prefetch in zfs_readdir

    Add paramter zfs_readdir_dnode_prefetch_limit, defaulting to 0, to
    control whether zfs_readdir prefetched metadata for objects it look at
    when reading a directory. If zero, metadata is prefetched for all
    directory entries. If non-zero, metadata is prefetched only if
    directory has fewer entries than this.
    
    Setting it to non-0 can be important for NFS servers with directories
    containing many subdirectories.
    
    Signed-off-by: Charles Hedrick <[email protected]>
    Co-authored-by: Chris Siebenmann<[email protected]>
    clhedrick-student committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    5d8bda9 View commit details
    Browse the repository at this point in the history