Skip to content

Implement copy_file_range as alternative to ioctl(FICLONE) #60

Description

@EirikAskheim

reflink functionality got added to zfs in version 2.2.0. ioctl(FICLONE) is supported when reflinking inside a dataset, but it is possible to reflink between datasets using copy_file_range. copy_file_range will fall back to normal copy if reflink is not possible.

Is it possible to add an option to use copy_file_range when reflinking?

openzfs/zfs#405 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions