]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: xfs_bmap_finish_one should map unwritten extents properly
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 17:01:13 +0000 (10:01 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:41 +0000 (11:37 -0700)
commit409e07e5198b8e3323e9ae5cb7e5f45d48b12d66
tree60fc2919cc4ba672a8ec0f611e9b23d57a1b668e
parent11900c013548322565c7de168fe1f9b145ead8a6
xfs: xfs_bmap_finish_one should map unwritten extents properly

Source kernel commit: 6c8127e93e3ac9c2cf6a13b885dd2d057b7e7d50

The deferred bmap work state and the log item can transmit unwritten
state, so the XFS_BMAP_MAP handler must map in extents with that
unwritten state.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
libxfs/xfs_bmap.c