btrfs-progs: convert: Add comment for the overall convert design
commit0117fdf1fc1bafb11b61e13dfc9a07c0899af781
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Wed, 22 Feb 2017 07:50:32 +0000 (22 15:50 +0800)
committerDavid Sterba <dsterba@suse.com>
Thu, 16 Mar 2017 16:02:44 +0000 (16 17:02 +0100)
tree6fd0a056152d300957ff83282f6e3750c2ebcd29
parent21e8582d32cfbbfd54ab550b4c9d31ff479931ad
btrfs-progs: convert: Add comment for the overall convert design

Convert is now a little complex due to that fact we need to separate
metadata and data chunks for different profiles.

Add a comment with ascii art explaining the whole design and point
out the really complex part, so any newcomers interested in convert can
get a quick overview of it before digging into the hard to read code.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
[ wording and formatting adjustments ]
Signed-off-by: David Sterba <dsterba@suse.com>
convert/main.c