]> git.baikalelectronics.ru Git - 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)
commitbb8741ff7b45cee821a81b8a0379fd4fe3c960fb
treebe4d70ed6cdfa49a4ecdcc3c536aa13e005b8bd9
parent98c8294a6af471064b09e21b67a74a33f2326691
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