summaryrefslogtreecommitdiff
path: root/mm/cleancache.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2012-01-17 00:04:48 +0400
committerIlya Dryomov <idryomov@gmail.com>2012-01-17 00:04:48 +0400
commit596410151ed71819b9e8a8018c6c9992796b256d (patch)
treeff697d01a6dd8cf50b37b3855e40764335be044d /mm/cleancache.c
parent0940ebf6b92ea10a6f30ae5ac3993a3b75745da6 (diff)
downloadlinux-596410151ed71819b9e8a8018c6c9992796b256d.tar.xz
Btrfs: recover balance on mount
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: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'mm/cleancache.c')
0 files changed, 0 insertions, 0 deletions