]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitd38b349c39a9feb1aca82c3280b9b1234497d582
treeec90b923cbcbc0d5c2b9bcf0275725afc2be34b3
parent31bada7c4e5e80b9cc031e89247175bed58ed9e9
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