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

Additional limits on hole reporting #14641

Merged
merged 1 commit into from
Mar 28, 2023
Merged

Commits on Mar 27, 2023

  1. Additional limits on hole reporting

    Holding the zp->z_rangelock as a RL_READER over the range
    0-UINT64_MAX is sufficient to prevent the dnode from being
    re-dirtied by concurrent writers.  To avoid potentially
    looping multiple times for external caller which do not
    take the rangelock holes are not reported after the first
    sync.  While not optimal this is always functionally correct.
    
    This change adds the missing rangelock calls on FreeBSD to
    zvol_cdev_ioctl().
    
    Signed-off-by: Brian Behlendorf <[email protected]>
    Issue openzfs#14512
    behlendorf committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    dc13cdf View commit details
    Browse the repository at this point in the history