[PATCH] Btrfs-progs: add dedup functionality

2011-01-06 Thread Josef Bacik
This program very basically does dedup. It searches a directory recursively and scans all of the files looking for 64k extents and hashing them to figure out if there are any duplicates. After that it calls the btrfs same extent ioctl for all of the duplicates in order to dedup the space on disk.

[PATCH] Btrfs-progs: add dedup functionality

2011-01-05 Thread Josef Bacik
This program very basically does dedup. It searches a directory recursively and scans all of the files looking for 64k extents and hashing them to figure out if there are any duplicates. After that it calls the btrfs same extent ioctl for all of the duplicates in order to dedup the space on disk.

Re: [PATCH] Btrfs-progs: add dedup functionality

2011-01-05 Thread Josef Bacik
On Wed, Jan 05, 2011 at 11:20:51AM -0500, Josef Bacik wrote: > This program very basically does dedup. It searches a directory recursively > and > scans all of the files looking for 64k extents and hashing them to figure out > if > there are any duplicates. After that it calls the btrfs same ex

[PATCH] Btrfs-progs: add dedup functionality

2011-01-05 Thread Josef Bacik
This program very basically does dedup. It searches a directory recursively and scans all of the files looking for 64k extents and hashing them to figure out if there are any duplicates. After that it calls the btrfs same extent ioctl for all of the duplicates in order to dedup the space on disk.