diff options
author | Harshad Shirwadkar <harshadshirwadkar@gmail.com> | 2020-11-06 04:58:52 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-11-07 05:01:02 +0100 |
commit | 5b552ad70c6197e764ffe6070089c5b355fe2d26 (patch) | |
tree | f9ea129b768abe037648caff5eed1d032aab6412 /fs/ext4/ext4.h | |
parent | ext4: mark fc ineligible if inode gets evictied due to mem pressure (diff) | |
download | linux-5b552ad70c6197e764ffe6070089c5b355fe2d26.tar.xz linux-5b552ad70c6197e764ffe6070089c5b355fe2d26.zip |
ext4: drop redundant calls ext4_fc_track_range
ext4_fc_track_range() should only be called when blocks are added or
removed from an inode. So, the only places from where we need to call
this function are ext4_map_blocks(), punch hole, collapse / zero
range, truncate. Remove all the other redundant calls to ths function.
Signed-off-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com>
Link: https://lore.kernel.org/r/20201106035911.1942128-4-harshadshirwadkar@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
0 files changed, 0 insertions, 0 deletions