From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob Peterson Date: Tue, 16 Jan 2018 12:51:32 -0500 (EST) Subject: [Cluster-devel] [PATCH 00/12] gfs2: punch hole In-Reply-To: <20171222143507.26680-1-agruenba@redhat.com> References: <20171222143507.26680-1-agruenba@redhat.com> Message-ID: <1468995485.503401.1516125092301.JavaMail.zimbra@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ----- 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