]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
xfs: don't use XFS_BMAPI_IGSTATE in xfs_map_blocks
authorChristoph Hellwig <hch@lst.de>
Thu, 12 Jul 2018 05:25:59 +0000 (22:25 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 12 Jul 2018 05:25:59 +0000 (22:25 -0700)
commita7b28f72ab90fe7a2f438360df5f6fda4237afdc
treebe4d70ed6cdfa49a4ecdcc3c536aa13e005b8bd9
parentc57371a16d074bb4eafe6b73f29360085ecb2064
xfs: don't use XFS_BMAPI_IGSTATE in xfs_map_blocks

We want to be able to use the extent state as a reliably indicator for
the type of I/O, and stop using the buffer head state.  For this we
need to stop using the XFS_BMAPI_IGSTATE so that we don't see merged
extents of different types.

Based on a patch from Dave Chinner.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_aops.c