cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH v2 0/3] Implement iomap for fiemap in GFS2
@ 2016-10-28 19:29 Bob Peterson
  2016-10-28 19:29 ` [Cluster-devel] [PATCH v2 1/3] GFS2: Make height info part of metapath Bob Peterson
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Bob Peterson @ 2016-10-28 19:29 UTC (permalink / raw)
  To: cluster-devel.redhat.com

Hi,

On 20 October, I submitted a set of 4 patches that implement iomap and
fiemap-with-iomap for GFS2. (It was a rework of an earlier patch set from
12 August.) I got some good feedback. Steve Whitehouse suggested I roll
the GFS2 allocation path into it and Christoph suggested I remove a
couple of useless casts. There are only three patches because when I
followed Steve's suggestion to include the block allocator stuff, it
simplified the code and made one of the patches completely unnecessary.
I also found and fixed some bugs during testing. This is a revised
version. The three patches are:

1. GFS2: Make height info part of metapath
   This patch is another "decoupling" needed to make the GFS2 blockmap
   function work with iomap under the covers. In this case, it eliminates
   the height parameters from function gfs2_bmap_alloc in favor of
   simply fetching the values from the metapath.
2. GFS2: Implement iomap for block_map
   This patch now implements the new GFS2 get_iomap function, and makes
   gfs2_block_map use it under the covers (allocation now included).
3. GFS2: Switch fiemap implementation to use iomap
   This patch switches GFS2's fiemap implementation to use the new iomap
   interface. It also uses a "select" in Kconfig to pull it all in, as
   Christoph had suggested.

This has been tested with large holey files, up to 1EB, and I also tested
some boundary conditions as well, such as 1PB plus and minus 1 byte, and
1PB plus and minus 4K. It seems to have basic functionality and excellent
performance, but it probably needs more testing.

As before, feedback is encouraged.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
---
Bob Peterson (3):
  GFS2: Make height info part of metapath
  GFS2: Implement iomap for block_map
  GFS2: Switch fiemap implementation to use iomap

 fs/gfs2/Kconfig       |   1 +
 fs/gfs2/bmap.c        | 291 +++++++++++++++++++++++++++++++++++++-------------
 fs/gfs2/bmap.h        |   4 +
 fs/gfs2/inode.c       |  60 ++++++++---
 include/linux/iomap.h |   1 +
 5 files changed, 269 insertions(+), 88 deletions(-)

-- 
2.7.4



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

end of thread, other threads:[~2016-11-07 12:03 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-28 19:29 [Cluster-devel] [PATCH v2 0/3] Implement iomap for fiemap in GFS2 Bob Peterson
2016-10-28 19:29 ` [Cluster-devel] [PATCH v2 1/3] GFS2: Make height info part of metapath Bob Peterson
2016-10-28 19:29 ` [Cluster-devel] [PATCH v2 2/3] GFS2: Implement iomap for block_map Bob Peterson
2016-10-29  9:24   ` Steven Whitehouse
2016-10-31 12:07     ` Bob Peterson
2016-10-31 20:07     ` Dave Chinner
2016-11-02  9:37       ` Steven Whitehouse
2016-11-02 21:01         ` Dave Chinner
2016-11-03  9:45           ` Steven Whitehouse
2016-11-04 13:44             ` Christoph Hellwig
2016-11-07 12:03               ` Steven Whitehouse
2016-10-28 19:29 ` [Cluster-devel] [PATCH v2 3/3] GFS2: Switch fiemap implementation to use iomap Bob Peterson
2016-10-29  9:33   ` Steven Whitehouse

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