Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d88d46c6 authored by Josef Bacik's avatar Josef Bacik
Browse files

Btrfs: free csums when we're done scrubbing an extent



A user reported scrub taking up an unreasonable amount of ram as it ran.  This
is because we lookup the csums for the extent we're scrubbing but don't free it
up until after we're done with the scrub, which means we can take up a whole lot
of ram.  This patch fixes this by dropping the csums once we're done with the
extent we've scrubbed.  The user reported this to fix their problem.  Thanks,

Reported-and-tested-by: default avatarRemco Hosman <remco@hosman.xs4all.nl>
Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
parent 1be41b78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment