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

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

f2fs: introduce discard_map for f2fs_trim_fs



This patch adds a bitmap for discard issues from f2fs_trim_fs.
There-in rule is to issue discard commands only for invalidated blocks
after mount.
Once mount is done, f2fs_trim_fs trims out whole invalid area.
After ehn, it will not issue and discrads redundantly.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent d6c67a4f
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