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

systemd zvol target #9016

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Commits on Feb 19, 2022

  1. zfs-mount-generator does not use pthreads anymore

    Do not link the pthreads library into zfs-mount-generator
    
    Signed-off-by: Antonio Russo <aerusso@aerusso.net>
    aerusso committed Feb 19, 2022
    Configuration menu
    Copy the full SHA
    bd31909 View commit details
    Browse the repository at this point in the history
  2. Refactor zvol_wait

    zvol_wait provides a mechanism to check whether a zvol has been made
    available.  By design, it only acts on zvols that are expected to become
    ready in the normal course of operation.
    
    This functionality is embedded inside an inner loop, making it unusable
    for other purposes.
    
    This patch isolates that logic and moves it into a common function.
    
    Signed-off-by: Antonio Russo <aerusso@aerusso.net>
    aerusso committed Feb 19, 2022
    Configuration menu
    Copy the full SHA
    02417f7 View commit details
    Browse the repository at this point in the history
  3. zvol_wait: wait for specific dataset.

    This extends zvol_wait to be able to wait for a specific zvol.
    
    Signed-off-by: Antonio Russo <aerusso@aerusso.net>
    aerusso committed Feb 19, 2022
    Configuration menu
    Copy the full SHA
    1768b73 View commit details
    Browse the repository at this point in the history
  4. zfs-mount-generator: generate zvol dependencies

    The zfs-mount-generator is used to produce granular systemd mount
    units that integrate the mounting of zfs datasets into systemd.
    
    Extend the zfs-mount-generator to also inform systemd about the
    initialization of zvols.
    
    Signed-off-by: Antonio Russo <aerusso@aerusso.net>
    aerusso committed Feb 19, 2022
    Configuration menu
    Copy the full SHA
    f34b249 View commit details
    Browse the repository at this point in the history