linux_old1/fs/f2fs
Chao Yu 75cd4e098d f2fs: support FALLOC_FL_ZERO_RANGE
Now, FALLOC_FL_ZERO_RANGE flag in ->fallocate is supported in ext4/xfs.

In commit, the semantics of this flag is descripted as following:"
1) Make sure that both offset and len are block size aligned.
2) Update the i_size of inode by len bytes.
3) Compute the file's logical block number against offset. If the computed
   block number is not the starting block of the extent, split the extent
   such that the block number is the starting block of the extent.
4) Shift all the extents which are lying between
   [offset, last allocated extent] towards right by len bytes. This step
   will make a hole of len bytes at offset."

This patch implements fallocate's FALLOC_FL_ZERO_RANGE for f2fs.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2015-05-28 15:41:43 -07:00
..
Kconfig f2fs: relocate Kconfig from misc filesystems 2015-04-10 15:08:35 -07:00
Makefile f2fs: add f2fs_io_tracer support 2015-01-09 17:02:24 -08:00
acl.c f2fs: make posix_acl_create() safer and cleaner 2015-05-07 11:38:31 -07:00
acl.h f2fs: avoid deadlock on init_inode_metadata 2014-11-03 16:07:33 -08:00
checkpoint.c f2fs: issue discard with finally produced len and minlen 2015-05-28 15:41:39 -07:00
data.c f2fs: split find_data_page according to specific purposes 2015-05-28 15:41:37 -07:00
debug.c f2fs: introduce discard_map for f2fs_trim_fs 2015-05-28 15:41:39 -07:00
dir.c f2fs: split find_data_page according to specific purposes 2015-05-28 15:41:37 -07:00
f2fs.h f2fs: introduce f2fs_replace_block() for reuse 2015-05-28 15:41:42 -07:00
file.c f2fs: support FALLOC_FL_ZERO_RANGE 2015-05-28 15:41:43 -07:00
gc.c f2fs: split find_data_page according to specific purposes 2015-05-28 15:41:37 -07:00
gc.h f2fs: fix sparse warnings 2015-02-11 17:04:49 -08:00
hash.c f2fs: introduce dot and dotdot name check 2015-05-28 15:41:34 -07:00
inline.c f2fs: add sbi and page pointer in f2fs_io_info 2015-05-28 15:41:32 -07:00
inode.c f2fs: fix sparse warnings 2015-04-10 15:08:55 -07:00
namei.c f2fs: fix counting the number of inline_data inodes 2015-05-28 15:41:36 -07:00
node.c f2fs: do not re-lookup nat cache with same nid 2015-05-28 15:41:41 -07:00
node.h f2fs: move existing definitions into f2fs.h 2015-05-28 15:41:27 -07:00
recovery.c f2fs: introduce f2fs_replace_block() for reuse 2015-05-28 15:41:42 -07:00
segment.c f2fs: introduce f2fs_replace_block() for reuse 2015-05-28 15:41:42 -07:00
segment.h f2fs: introduce discard_map for f2fs_trim_fs 2015-05-28 15:41:39 -07:00
super.c f2fs: add sbi and page pointer in f2fs_io_info 2015-05-28 15:41:32 -07:00
trace.c f2fs: add sbi and page pointer in f2fs_io_info 2015-05-28 15:41:32 -07:00
trace.h f2fs: add sbi and page pointer in f2fs_io_info 2015-05-28 15:41:32 -07:00
xattr.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2015-04-26 17:22:07 -07:00
xattr.h f2fs: avoid deadlock on init_inode_metadata 2014-11-03 16:07:33 -08:00