id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
1983	Add btrfs' file clone operation	sfionov	andrew_b	"From Wikipedia: ""Btrfs provides a clone operation which atomically creates a copy-on-write snapshot of a file, support for which was added to GNU coreutils 7.5.""

In coreutils this feature may be used with {{{cp --reflink file1 file2}}}

Syntax is: {{{ioctl(dest_desc, BTRFS_IOC_CLONE, src_desc)}}}, where dest_desc and src_desc are file descriptors.

It would be nice to utilize this feature in MC, for example, as ""Copy-on-write"" switch in copy file dialog (appearing when source and destination is on one Btrfs filesystem) or as a separate operation in UI."	enhancement	closed	minor	4.8.22	mc-vfs	master	fixed		deletesoftware@… wolf+mc@…			merged	committed-master
