lkml.org 
[lkml]   [2012]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Add FALLOC_FL_ZERO_RANGE to fallocate
Date
This patch adds the FALLOC_FL_ZERO_RANGE operation mode to fallocate,
resembling the similar XFS ioctl. The new mode can be used with
or without FALLOC_FL_KEEP_SIZE, but of course not together with
FALLOC_FL_PUNCH_HOLE.

Other filesystems can then provide the same functionality with a
standard system call.

Paolo
---
fs/open.c | 8 +++++++-
fs/xfs/xfs_file.c | 34 +++++++++++++++++++++++-----------
include/linux/falloc.h | 1 +
3 files changed, 32 insertions(+), 13 deletions(-)



\
 
 \ /
  Last update: 2012-06-12 18:21    [W:0.061 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site