Btrfs: add helper for em merge logic
authorLiu Bo <bo.li.liu@oracle.com>
Fri, 5 Jan 2018 19:51:10 +0000 (12:51 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 22 Jan 2018 15:08:21 +0000 (16:08 +0100)
commit7b4df058b051fb67db61ea371f7d278131cb6e7b
treeae12edbe7dc44fbe99ad4aaa4c3b7fb8739a97a9
parent18e83ac75bfe67009c4ddcdd581bba8eb16f4030
Btrfs: add helper for em merge logic

This is a prepare work for the following extent map selftest, which
runs tests against em merge logic.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/inode.c