file_dedupe_range_info

from struct btrfs_ioctl_file_extent_same_info

version(linux)
extern (C) @nogc nothrow
struct file_dedupe_range_info {}

Members

Variables

bytes_deduped
ulong bytes_deduped;

out - total # of bytes we were able to dedupe from this file.

dest_fd
long dest_fd;

in - destination file

dest_offset
ulong dest_offset;

in - start of extent in destination

reserved
uint reserved;

must be zero

status
int status;

status of this dedupe operation: < 0 for error == FILE_DEDUPE_RANGE_SAME if dedupe succeeds == FILE_DEDUPE_RANGE_DIFFERS if data differs

Meta