]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/f2fs/f2fs.h
f2fs: introduce FITRIM in f2fs_ioctl
authorJaegeuk Kim <jaegeuk@kernel.org>
Sun, 21 Sep 2014 05:06:39 +0000 (22:06 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 30 Sep 2014 22:06:09 +0000 (15:06 -0700)
commit4b2fecc84655055a6a1fe9151786992ac04b56ce
tree05f5f041260756216c0b3f1a0da2360be31580b6
parent75ab4cb8301adb3a02a96c5c03c837ed941f1bc5
f2fs: introduce FITRIM in f2fs_ioctl

This patch introduces FITRIM in f2fs_ioctl.
In this case, f2fs will issue small discards and prefree discards as many as
possible for the given area.

Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/segment.c
fs/f2fs/super.c
include/trace/events/f2fs.h