Great, thank you! To our shame, reiser4 neither preallocates, nor punches holes. TBH, too lazy ;) I prefer to concentrate on features, which are either unique, or perform better in reiser4 (like discard)... Thanks, Edward. On 05/08/2014 09:13 PM, Ivan Shapovalov wrote:
This implements device discard functionality in libaal to be used by mkfs and friends. Note that the build system is _not_ regenerated, so the direct result of applying these patches won't build. Ivan Shapovalov (2): configure.in: check for fallocate() and related headers. Add aal_device_discard() function and implement it for file-based device. configure.in | 4 +-- include/aal/device.h | 4 +++ include/aal/types.h | 3 +++ src/device.c | 15 +++++++++++ src/file.c | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 98 insertions(+), 2 deletions(-)
-- To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html