linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add FALLOC_FL_ZERO_RANGE to fallocate
@ 2012-06-12 15:36 Paolo Bonzini
  2012-06-12 15:36 ` [PATCH 1/2] vfs: add " Paolo Bonzini
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Paolo Bonzini @ 2012-06-12 15:36 UTC (permalink / raw)
  To: linux-kernel; +Cc: Al Viro, xfs, linux-fsdevel

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(-)

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2013-11-05 16:36 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-12 15:36 [PATCH 0/2] Add FALLOC_FL_ZERO_RANGE to fallocate Paolo Bonzini
2012-06-12 15:36 ` [PATCH 1/2] vfs: add " Paolo Bonzini
2012-06-13  1:55   ` Dave Chinner
2012-06-12 15:36 ` [PATCH 2/2] xfs: " Paolo Bonzini
2012-06-13  2:16   ` Dave Chinner
2012-06-13  6:24     ` Paolo Bonzini
2012-06-13 23:52       ` Dave Chinner
2012-06-13  1:35 ` [PATCH 0/2] Add " Dave Chinner
2012-06-13  3:30   ` Dave Chinner
2012-06-13  6:13     ` Paolo Bonzini
2012-06-13 23:51       ` Dave Chinner
2013-11-05 10:34       ` Christoph Hellwig
2013-11-05 10:36         ` Paolo Bonzini
2013-11-05 16:36           ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).