[Cluster-devel] [PATCH 00/12] gfs2: punch hole

Andreas Gruenbacher agruenba at redhat.com
Fri Dec 22 14:34:55 UTC 2017


These patches fix a few minor issues in the non-recursive delete
implementation, add upper bound parameters so that these functions can
be used for punching holes in addition to truncating files at a given
position, and implement the fallocate hole punching operation base don
that.

These patches pass xfstests, but they haven't been tested very heavily
beyond that.

Andreas Gruenbacher (11):
  gfs2: Remove pointless BUG_ON
  gfs2: Clean up trunc_start error path
  gfs2: truncate: Remove unnecessary oldsize parameters
  gfs2: Remove minor gfs2_journaled_truncate inefficiencies
  gfs2: Clean up {lookup,fillup}_metapath
  gfs2: Fix metadata read-ahead during truncate
  gfs2: Improve non-recursive delete algorithm
  Turn gfs2_block_truncate_page into gfs2_block_zero_range
  gfs2: Generalize truncate code
  gfs2: Turn trunc_dealloc into punch_hole
  gfs2: Implement fallocate(FALLOC_FL_PUNCH_HOLE)

Steven Whitehouse (1):
  gfs2: Add gfs2_blk2rgrpd comment and fix incorrect use

 fs/gfs2/bmap.c  | 571 +++++++++++++++++++++++++++++++++++++++-----------------
 fs/gfs2/bmap.h  |   1 +
 fs/gfs2/file.c  |  19 +-
 fs/gfs2/rgrp.c  |   7 +
 fs/gfs2/trans.c |   1 -
 5 files changed, 418 insertions(+), 181 deletions(-)

-- 
2.14.3




More information about the Cluster-devel mailing list