• Josef Bacik's avatar
    Btrfs: prepare block group cache before writing · dcdf7f6d
    Josef Bacik authored
    Writing the block group cache will modify the extent tree quite a bit because it
    truncates the old space cache and pre-allocates new stuff.  To try and cut down
    on the churn lets do the setup dance first, then later on hopefully we can avoid
    looping with newly dirtied roots.  Thanks,
    Signed-off-by: default avatarJosef Bacik <jbacik@fb.com>
    dcdf7f6d
ctree.h 135 KB