• Jaegeuk Kim's avatar
    f2fs: limit # of inmemory pages · 57864ae5
    Jaegeuk Kim authored
    If some abnormal users try lots of atomic write operations, f2fs is able to
    produce pinned pages in the main memory which affects system performance.
    This patch limits that as 20% over total memory size, and if f2fs reaches
    to the limit, it will drop all the inmemory pages.
    Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
    57864ae5
node.h 11.9 KB