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

Expose zfs_vdev_open_timeout_ms as a tunable #14133

Merged
merged 1 commit into from
Nov 3, 2022

Commits on Nov 3, 2022

  1. Expose zfs_vdev_open_timeout_ms as a tunable

    Some of our customers have been occasionally hitting zfs import failures
    in Linux because udevd doesn't create the by-id symbolic links in time
    for zpool import to use them. The main issue is that the
    systemd-udev-settle.service that zfs-import-cache.service and other
    services depend on is racy. There is also an openzfs issue filed (see
    openzfs#10891) outlining the problem and
    potential solutions.
    
    With the proper solutions being significant in terms of complexity and
    the priority of the issue being low for the time being, this patch
    exposes `zfs_vdev_open_timeout_ms` as a tunable so people that are
    experiencing this issue often can increase it as a workaround.
    
    Signed-off-by: Serapheim Dimitropoulos <serapheim@delphix.com>
    sdimitro committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    e5fcb7b View commit details
    Browse the repository at this point in the history