Skip to content

gfs2: Partial iomap support

Andreas Gruenbacher cluster-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4GFS2: Make height info part of metapathfs/gfs2/bmap.c+62 -470 replies
2/4GFS2: Implement iomap for block_mapfs/gfs2/bmap.c fs/gfs2/bmap.h fs/gfs2/trace_gfs2.h +1 more+275 -690 replies
3/4GFS2: Switch fiemap implementation to use iomapfs/gfs2/Kconfig fs/gfs2/inode.c+10 -250 replies
4/4gfs2: Implement SEEK_HOLE / SEEK_DATA via iomapfs/gfs2/file.c fs/gfs2/inode.c fs/gfs2/inode.h+54 -30 replies

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 0/4] gfs2: Partial iomap support

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(-)
Signature · 1 line
2.13.3