Skip to content

gfs2: punch hole

Bob Peterson cluster-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 of 12 patches 0 repliesNew

4 of 12 patches are in this archive. The cover letter announces 12.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
3/12gfs2: Clean up trunc_start error path+0 -00 replies
3/12gfs2: Clean up trunc_start error path+0 -00 replies
5/12gfs2: Remove minor gfs2_journaled_truncate inefficiencies+0 -01 reply
10/12gfs2: Generalize truncate code+0 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

----- Original Message -----

| 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

Hi,

Thanks. I pushed the (now-revised) punch-hole patch set to the for-next branch of linux-gfs2 repository. I also threw a bunch of my truncate and delete tests at them, and it all seemed to work properly.

7d2040199855 Steven Whitehouse gfs2: Add gfs2_blk2rgrpd comment and fix incorrect use
ccd77a7f6cad Andreas Gruenbacher gfs2: Remove pointless BUG_ON
e6bf7ff650bd Andreas Gruenbacher gfs2: Clean up trunc_start error path afbf9be543a6 Andreas Gruenbacher gfs2: truncate: Remove unnecessary oldsize parameters fb898e411939 Andreas Gruenbacher gfs2: Remove minor gfs2_journaled_truncate inefficiencies 5824d54d8ad3 Andreas Gruenbacher gfs2: Clean up {lookup,fillup}_metapath 019cb01e5d94 Andreas Gruenbacher gfs2: Fix metadata read-ahead during truncate 11935f6d990d Andreas Gruenbacher gfs2: Improve non-recursive delete algorithm 2d63ef4b89ba Andreas Gruenbacher Turn gfs2_block_truncate_page into gfs2_block_zero_range 2a220ac9e3f7 Andreas Gruenbacher gfs2: Generalize truncate code 60788120c6c2 Andreas Gruenbacher gfs2: Turn trunc_dealloc into punch_hole 9da8249e14da Andreas Gruenbacher gfs2: Implement fallocate(FALLOC_FL_PUNCH_HOLE)

Regards,

Bob Peterson