• Jaegeuk Kim's avatar
    f2fs: refactor flush_nat_entries to remove costly reorganizing ops · 309cc2b6
    Jaegeuk Kim authored
    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>
    309cc2b6
node.h 10.7 KB