f2fs: introduce FITRIM in f2fs_ioctl
authorJaegeuk Kim <jaegeuk@kernel.org>
Sun, 21 Sep 2014 05:06:39 +0000 (22:06 -0700)
committerIan Chang <ianc@nvidia.com>
Wed, 27 Jan 2016 10:04:16 +0000 (18:04 +0800)
commit63a5c033b846f56ac129a6f8230dbad8fd048dd9
tree12582646a81d6d0a43b7c972a1db31e236dbeb93
parentf6322d3f46379ffbfcc1367b4707ad180d5e06d6
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.

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