btrfs: expand cow_file_range() to support in-band dedup and subpage-blocksize
authorWang Xiaoguang <wangxg.fnst@cn.fujitsu.com>
Mon, 11 Jul 2016 03:05:29 +0000 (11:05 +0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Jul 2016 11:52:25 +0000 (13:52 +0200)
commitdda3245eca18c73413a854a834c41fc770feb0dd
tree9004d9180ec0c8542257ae5859b6b1f51ff15fac
parentf5daf2c780f2ddfddbf98f2eb668f026c4dd2e5d
btrfs: expand cow_file_range() to support in-band dedup and subpage-blocksize

Extract cow_file_range() new parameters for both in-band dedupe and
subpage sector size patchset.

This should make conflict of both patchset to minimal, and reduce the
effort needed to rebase them.

Cc: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Cc: David Sterba <dsterba@suse.cz>
Signed-off-by: Wang Xiaoguang <wangxg.fnst@cn.fujitsu.com>
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/dedupe.h [new file with mode: 0644]
fs/btrfs/inode.c