[PATCH] Btrfs: add extent-same ioctl for dedup

2011-01-06 Thread Josef Bacik
This adds the ability for userspace to tell btrfs which extents match eachother. You pass in -a logical offset -a length -a list of file descriptors with their logical offset and this ioctl will split up the extent on the target file and then link all of the files with the target files extent

[PATCH] Btrfs: add extent-same ioctl for dedup

2011-01-06 Thread Josef Bacik
This adds the ability for userspace to tell btrfs which extents match eachother. You pass in -a logical offset -a length -a list of file descriptors with their logical offset and this ioctl will split up the extent on the target file and then link all of the files with the target files extent

[PATCH] Btrfs: add extent-same ioctl for dedup

2011-01-05 Thread Josef Bacik
This adds the ability for userspace to tell btrfs which extents match eachother. You pass in -a logical offset -a length -a hash type (currently only sha256 is supported) -the hash -a list of file descriptors with their logical offset and this ioctl will split up the extent on the target file

Re: [PATCH] Btrfs: add extent-same ioctl for dedup

2011-01-05 Thread Simon Farnsworth
Josef Bacik wrote: This adds the ability for userspace to tell btrfs which extents match eachother. You pass in -a logical offset -a length -a hash type (currently only sha256 is supported) -the hash -a list of file descriptors with their logical offset and this ioctl will split up