• I
    Btrfs: recover balance on mount · 59641015
    Ilya Dryomov 提交于
    On mount, if balance item is found, resume balance in a separate
    kernel thread.
    
    Try to be smart to continue roughly where previous balance (or convert)
    was interrupted.  For chunk types that were being converted to some
    profile we turn on soft convert, in case of a simple balance we turn on
    usage filter and relocate only less-than-90%-full chunks of that type.
    These are just heuristics but they help quite a bit, and can be improved
    in future.
    Signed-off-by: NIlya Dryomov <idryomov@gmail.com>
    59641015
volumes.c 109.3 KB