summaryrefslogtreecommitdiff
path: root/net/mac80211
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2015-05-06 05:11:13 (GMT)
committerJaegeuk Kim <jaegeuk@kernel.org>2015-05-28 22:41:43 (GMT)
commit75cd4e098d178433436abce08146a21647bb4585 (patch)
treef794bfeb552887eae64d3877ed4dd916e41a49a2 /net/mac80211
parentb4ace33703243fed56f8bfc80a001533acb9decb (diff)
downloadlinux-75cd4e098d178433436abce08146a21647bb4585.tar.xz
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>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions