mbox series

[0/4] ext4: SEEK_HOLE / SEEK_DATA via iomap

Message ID 20170829142942.21594-1-agruenba@redhat.com
Headers show
Series ext4: SEEK_HOLE / SEEK_DATA via iomap | expand

Message

Andreas Gruenbacher Aug. 29, 2017, 2:29 p.m. UTC
Add IOMAP_REPORT support to ext4, including support for inline data
which iomap couldn't report so far.  Switch to iomap_seek_{hole,data} on
ext4.

This patch set seems to be working correctly on ext4 as well as xfs
under xfstests.  Jan Kara has pointed out an issue that I can't
reproduce though, so please review carefully.

Thanks,
Andreas

Andreas Gruenbacher (3):
  iomap: Switch from blkno to disk offset
  iomap: Add IOMAP_F_DATA_INLINE flag
  ext4: Add iomap support for inline data

Christoph Hellwig (1):
  ext4: Switch to iomap for SEEK_HOLE / SEEK_DATA

 fs/buffer.c           |   4 +-
 fs/dax.c              |   2 +-
 fs/ext2/inode.c       |   4 +-
 fs/ext4/Kconfig       |   1 +
 fs/ext4/ext4.h        |   7 +-
 fs/ext4/file.c        | 271 +++-----------------------------------------------
 fs/ext4/inline.c      |  33 ++++++
 fs/ext4/inode.c       | 114 +++++++--------------
 fs/iomap.c            |  13 +--
 fs/nfsd/blocklayout.c |   4 +-
 fs/xfs/xfs_iomap.c    |   6 +-
 include/linux/iomap.h |  15 +--
 12 files changed, 115 insertions(+), 359 deletions(-)