]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: don't bother kicking async if there's nothing to reclaim
authorJosef Bacik <jbacik@fb.com>
Fri, 25 Mar 2016 17:25:59 +0000 (13:25 -0400)
committerDavid Sterba <dsterba@suse.com>
Thu, 7 Jul 2016 16:45:53 +0000 (18:45 +0200)
commit1bc337cb59e658b5aea46441965dbd42b6c6e22c
treeec90b923cbcbc0d5c2b9bcf0275725afc2be34b3
parent6f4531ad366579f371c9efd65a77fdd6743492ee
Btrfs: don't bother kicking async if there's nothing to reclaim

We do this check when we start the async reclaimer thread, might as well check
before we kick it off to save us some cycles.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c