diff options
author | Wang Jianchao <wangjianchao@kuaishou.com> | 2021-07-24 15:41:21 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2021-08-12 13:11:25 -0400 |
commit | 6920b3913235f517728bb69abe9b39047a987113 (patch) | |
tree | ce9c447d7ccf1a72e6bde1fb281448bdd8f7424a /lib/rbtree.c | |
parent | bd2eea8d0a6b6a9aca22f20bf74f73b71d8808af (diff) |
ext4: add new helper interface ext4_try_to_trim_range()
There is no functional change in this patch but just split the
codes, which serachs free block and does trim, into a new function
ext4_try_to_trim_range. This is preparing for the following async
backgroup discard.
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Wang Jianchao <wangjianchao@kuaishou.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20210724074124.25731-3-jianchao.wan9@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'lib/rbtree.c')
0 files changed, 0 insertions, 0 deletions