]> git.hungrycats.org Git - linux/commit
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)
committerZygo Blaxell <zblaxell@waya.furryterror.org>
Wed, 17 Aug 2016 02:24:07 +0000 (22:24 -0400)
commit01743f13ab89de8dad9df14ee40cc6eb20949320
tree05e525e8d5489f04a87b227920bf42d5914b1ff5
parentf6cdcd32812c27e94a550805fae3ca0676a02240
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>
(cherry picked from commit dda3245eca18c73413a854a834c41fc770feb0dd)
fs/btrfs/dedupe.h [new file with mode: 0644]
fs/btrfs/inode.c