[Cluster-devel] [PATCH 0/4] gfs2: Partial iomap support

Andreas Gruenbacher agruenba at redhat.com
Thu Sep 21 17:43:00 UTC 2017


Here is an update on Bob Peterson's gfs2 iomap patches:

>From Bob (3):
1. GFS2: Make height info part of metapath
   Prepare the block mapping functions to using iomap.

2  GFS2: Implement iomap for block_map
   Switch to iomap for mapping logical to physical blocks; implement
   gfs2_block_map on top of gfs2_iomap_begin.  This covers reads and
   writes, but does not switch to multi-page write support, yet.

3. GFS2: Switch fiemap implementation to use iomap
   Switch to iomap_fiemap + gfs2_iomap_begin in gfs2_fiemap.

>From myself (1):
4. gfs2: Implement SEEK_HOLE / SEEK_DATA via iomap
   Like fiemap, switch to iomap_seek_{hole,data} in gfs2_llseek.

The patches apply on top of the iomap infrastructure patches posted as
part of the "ext4: SEEK_HOLE / SEEK_DATA via iomap" patch queue a week
ago (https://lwn.net/Articles/734027/).

The patches have been carefully reviewed by Bob and myself, and they
have passed xfstests with no regressions.  We can queue them up for the
next merge window as soon as Theodore Ts'o has merged the ext4 patches
into his ext4 queue.

Thanks,
Andreas

 fs/gfs2/Kconfig       |   1 +
 fs/gfs2/bmap.c        | 309 +++++++++++++++++++++++++++++++++++++-------------
 fs/gfs2/bmap.h        |   4 +
 fs/gfs2/file.c        |  17 ++-
 fs/gfs2/inode.c       |  72 ++++++++----
 fs/gfs2/inode.h       |   2 +
 fs/gfs2/trace_gfs2.h  |  65 +++++++++++
 include/linux/iomap.h |   3 +-
 8 files changed, 365 insertions(+), 108 deletions(-)

-- 
2.13.3




More information about the Cluster-devel mailing list