diff options
author | Namjae Jeon <namjae.jeon@samsung.com> | 2015-03-25 05:07:05 +0100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-03-25 05:07:05 +0100 |
commit | dd46c787788d5bf5b974729d43e4c405814a4c7d (patch) | |
tree | 67ae36b5a9cbbec7b71995417f9350999dca6b9c /fs/xfs/xfs_bmap_util.c | |
parent | xfs: remove deprecated mount options (diff) | |
download | linux-dd46c787788d5bf5b974729d43e4c405814a4c7d.tar.xz linux-dd46c787788d5bf5b974729d43e4c405814a4c7d.zip |
fs: Add support FALLOC_FL_INSERT_RANGE for fallocate
FALLOC_FL_INSERT_RANGE command is the opposite command of
FALLOC_FL_COLLAPSE_RANGE that is needed for someone who wants to add
some data in the middle of file.
FALLOC_FL_INSERT_RANGE will create space for writing new data within
a file after shifting extents to right as given length. This command
also has same limitations as FALLOC_FL_COLLAPSE_RANGE in that
operations need to be filesystem block boundary aligned and cannot
cross the current EOF.
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_bmap_util.c')
0 files changed, 0 insertions, 0 deletions