Searched hist:d583fb87a3ff0ca50befd2f73f7a67fade1c8c56 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ext4/ |
H A D | extents.c | diff d583fb87a3ff0ca50befd2f73f7a67fade1c8c56 Wed May 25 06:41:43 CDT 2011 Allison Henderson <achender@linux.vnet.ibm.com> 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>
|