ext4: SEEK_HOLE / SEEK_DATA via iomap
From: | Andreas Gruenbacher <agruenba-AT-redhat.com> | |
To: | linux-fsdevel-AT-vger.kernel.org | |
Subject: | [PATCH v2 0/4] ext4: SEEK_HOLE / SEEK_DATA via iomap | |
Date: | Thu, 14 Sep 2017 11:50:43 +0200 | |
Message-ID: | <20170914095047.23935-1-agruenba@redhat.com> | |
Cc: | linux-ext4-AT-vger.kernel.org, linux-xfs-AT-vger.kernel.org, Jan Kara <jack-AT-suse.cz>, Christoph Hellwig <hch-AT-lst.de>, Andreas Gruenbacher <agruenba-AT-redhat.com> |
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 series should be ready to be merged. 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 | 263 +++----------------------------------------------- fs/ext4/inline.c | 33 +++++++ fs/ext4/inode.c | 149 +++++++++++++--------------- fs/iomap.c | 13 +-- fs/nfsd/blocklayout.c | 4 +- fs/xfs/xfs_iomap.c | 6 +- include/linux/iomap.h | 15 +-- 12 files changed, 142 insertions(+), 359 deletions(-) -- 2.13.3