[PATCH 4/5] btrfs: allow dedupe of same inode

2015-06-30 Thread Mark Fasheh
clone() supports cloning within an inode so extent-same can do the same now. This patch fixes up the locking in extent-same to know about the single-inode case. In addition to that, we add a check for overlapping ranges, which clone does not allow. Signed-off-by: Mark Fasheh mfas...@suse.de

[PATCH 4/5] btrfs: allow dedupe of same inode

2015-06-26 Thread Mark Fasheh
clone() supports cloning within an inode so extent-same can do the same now. This patch fixes up the locking in extent-same to know about the single-inode case. In addition to that, we add a check for overlapping ranges, which clone does not allow. Signed-off-by: Mark Fasheh mfas...@suse.de

Re: [PATCH 4/5] btrfs: allow dedupe of same inode

2015-06-23 Thread David Sterba
On Mon, Jun 22, 2015 at 03:47:41PM -0700, Mark Fasheh wrote: clone() supports cloning within an inode so extent-same can do the same now. This patch fixes up the locking in extent-same to know about the single-inode case. In addition to that, we add a check for overlapping ranges, which clone

[PATCH 4/5] btrfs: allow dedupe of same inode

2015-06-23 Thread Mark Fasheh
clone() supports cloning within an inode so extent-same can do the same now. This patch fixes up the locking in extent-same to know about the single-inode case. In addition to that, we add a check for overlapping ranges, which clone does not allow. Signed-off-by: Mark Fasheh mfas...@suse.de

[PATCH 4/5] btrfs: allow dedupe of same inode

2015-06-22 Thread Mark Fasheh
clone() supports cloning within an inode so extent-same can do the same now. This patch fixes up the locking in extent-same to know about the single-inode case. In addition to that, we add a check for overlapping ranges, which clone does not allow. Signed-off-by: Mark Fasheh mfas...@suse.de ---