Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 309cc2b6 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: refactor flush_nat_entries to remove costly reorganizing ops



Previously, f2fs tries to reorganize the dirty nat entries into multiple sets
according to its nid ranges. This can improve the flushing nat pages, however,
if there are a lot of cached nat entries, it becomes a bottleneck.

This patch introduces a new set management flow by removing dirty nat list and
adding a series of set operations when the nat entry becomes dirty.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 4b2fecc8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment