]> 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)
commit5611f4f6614156b73f11ea0d780f155f7209c195
treeec90b923cbcbc0d5c2b9bcf0275725afc2be34b3
parent2a4ff42a6c9db4ec7a3855ea74aebce83d90c1f8
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