diff options
author | Allison Henderson <achender@linux.vnet.ibm.com> | 2011-05-25 07:41:43 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-05-25 07:41:43 -0400 |
commit | d583fb87a3ff0ca50befd2f73f7a67fade1c8c56 (patch) | |
tree | 4e8cd6c05390d5355906d5657b87d82fcd4ea750 /fs/sysv | |
parent | 308488518dfcbe3be250085cd582f5b0c1ce72a9 (diff) |
ext4: punch out extents
This patch modifies the truncate routines to support hole punching
Below is a brief summary of the patches changes:
- Added end param to ext_ext4_rm_leaf
This function has been modified to accept an end parameter
which enables it to punch holes in leafs instead of just
truncating them.
- Implemented the "remove head" case in the ext_remove_blocks routine
This routine is used by ext_ext4_rm_leaf to remove the tail
of an extent during a truncate. The new ext_ext4_rm_leaf
routine will now also use it to remove the head of an extent in the
case that the hole covers a region of blocks at the beginning
of an extent.
- Added "end" param to ext4_ext_remove_space routine
This function has been modified to accept a stop parameter, which
is passed through to ext4_ext_rm_leaf.
[ext4 punch hole patch series 3/5 v6]
Signed-off-by: Allison Henderson <achender@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/sysv')
0 files changed, 0 insertions, 0 deletions