diff options
author | Wang Jianchao <wangjianchao@kuaishou.com> | 2021-07-24 10:41:21 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2021-08-12 20:11:25 +0300 |
commit | 6920b3913235f517728bb69abe9b39047a987113 (patch) | |
tree | ce9c447d7ccf1a72e6bde1fb281448bdd8f7424a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bd2eea8d0a6b6a9aca22f20bf74f73b71d8808af (diff) | |
download | linux-6920b3913235f517728bb69abe9b39047a987113.tar.xz |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions