[GIT PULL] iomap: new code for 5.4

From: Darrick J. Wong
Date: Tue Sep 17 2019 - 11:21:43 EST


Hi Linus,

Please pull this series containing all the new iomap code for 5.4. The
biggest change here is porting some of XFS' writeback code to iomap so
that we can share it with other filesystems; and making some adjustments
to the iomap directio code in preparation for other filesystems starting
to use it. In 5.5 we hope to finish converting XFS to iomap and to
start converting a few other filesystems.

The branch merges cleanly against this morning's HEAD and survived a
couple of weeks' worth of xfstests. The merge was completely
straightforward, so please let me know if you run into anything weird.

--D

The following changes since commit 609488bc979f99f805f34e9a32c1e3b71179d10b:

Linux 5.3-rc2 (2019-07-28 12:47:02 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/iomap-5.4-merge-4

for you to fetch changes up to 68494b8e248fe8a7b6e9f88edd9a87661760ddb9:

iomap: move the iomap_dio_rw ->end_io callback into a structure (2019-09-03 08:28:22 -0700)

----------------------------------------------------------------
New code for 5.4:
- Port the XFS writeback code to iomap with the eventual goal of
converting XFS to use it.
- Clean up a few odds and ends in xfs writeback and convert the xfs
ioend code to use list_pop and friends.
- Report both io errors and short io results to the directio endio
handler.
- Allow directio callers to pass an ops structure to iomap_dio_rw.

----------------------------------------------------------------
Andreas Gruenbacher (1):
iomap: Fix trivial typo

Christoph Hellwig (9):
list.h: add list_pop and list_pop_entry helpers
iomap: copy the xfs writeback code to iomap.c
iomap: add tracing for the address space operations
iomap: warn on inline maps in iomap_writepage_map
xfs: set IOMAP_F_NEW more carefully
iomap: zero newly allocated mapped blocks
xfs: initialize iomap->flags in xfs_bmbt_to_iomap
xfs: refactor the ioend merging code
iomap: move the iomap_dio_rw ->end_io callback into a structure

Matthew Bobrowski (1):
iomap: split size and error for iomap_dio_rw ->end_io

Randy Dunlap (1):
tracing: fix iomap.h build warnings

fs/iomap/buffered-io.c | 575 ++++++++++++++++++++++++++++++++++++++++++-
fs/iomap/direct-io.c | 24 +-
fs/xfs/xfs_aops.c | 70 +++---
fs/xfs/xfs_file.c | 14 +-
fs/xfs/xfs_iomap.c | 35 ++-
fs/xfs/xfs_iomap.h | 2 +-
fs/xfs/xfs_pnfs.c | 2 +-
include/linux/iomap.h | 53 +++-
include/linux/list.h | 33 +++
include/trace/events/iomap.h | 87 +++++++
10 files changed, 824 insertions(+), 71 deletions(-)
create mode 100644 include/trace/events/iomap.h