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

block_cloning: multiple bugfixes on FreeBSD #14713

Closed
wants to merge 1 commit into from

Commits on Apr 4, 2023

  1. block_cloning: fix a couple of bugs on FreeBSD

    If copying files on the same dataset and block_cloning is not enabled
    the copy is refused and EXDEV is returned. In this case fall back to
    vn_generic_copy_file_range()
    
    When calling in block_cloning zfs_clone_range() from
    zfs_freebsd_copy_file_range(), ap->a_fsizetd may be NULL.
    ap->a_outcred is a better candidate.
    
    Signed-off-by: Martin Matuska <mm@FreeBSD.org>
    mmatuska committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    f6ce9b7 View commit details
    Browse the repository at this point in the history