diff options
author | Baokun Li <[email protected]> | 2023-04-24 11:38:36 +0800 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2023-06-26 19:35:12 -0400 |
commit | 9649eb18c6288f514cacffdd699d5cd999c2f8f6 (patch) | |
tree | 83f8c9d86f881679089b8993aa597f40217ca80a /drivers/fpga/fpga-mgr.c | |
parent | de25d6e9610a8b30cce9bbb19b50615d02ebca02 (diff) |
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 <[email protected]>
Signed-off-by: Baokun Li <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions