diff options
author | 2023-04-24 11:38:36 +0800 | |
---|---|---|
committer | 2023-06-26 19:35:12 -0400 | |
commit | 9649eb18c6288f514cacffdd699d5cd999c2f8f6 (patch) | |
tree | 83f8c9d86f881679089b8993aa597f40217ca80a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ext4: only update i_reserved_data_blocks on successful block allocation (diff) | |
download | wireguard-linux-9649eb18c6288f514cacffdd699d5cd999c2f8f6.tar.xz wireguard-linux-9649eb18c6288f514cacffdd699d5cd999c2f8f6.zip |
ext4: add a new helper to check if es must be kept
In the extent status tree, we have extents which we can just drop without
issues and extents we must not drop - this depends on the extent's status
- currently ext4_es_is_delayed() extents must stay, others may be dropped.
A helper function is added to help determine if the current extent can
be dropped, although only ext4_es_is_delayed() extents cannot be dropped
currently.
Suggested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230424033846.4732-3-libaokun1@huawei.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