commit | 420829d8ea13976e084be8cc2531b52f81e6dd02 | [log] [tgz] |
---|---|---|
author | Nikolay Borisov <nborisov@suse.com> | Thu Jan 03 10:50:05 2019 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon Feb 25 14:13:20 2019 +0100 |
tree | fb1727588149aaece64b5e17b5bca32e6aba11d0 | |
parent | 4546d178745d5d5f78352a275cf50caa47528436 [diff] |
btrfs: Refactor shrink_delalloc Add a couple of comments regarding the logic flow in shrink_delalloc. Then, cease using max_reclaim as a temporary variable when calculating nr_pages. Finally give max_reclaim a more becoming name, which uneqivocally shows at what this variable really holds. No functional changes. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>