xfs: ignore extent size hints for always COW inodes
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Oct 2019 17:07:21 +0000 (10:07 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 21 Oct 2019 16:04:58 +0000 (09:04 -0700)
commitbdb2ed2dbdc227a97e8f37ecf0effc3537bcf789
treed091ffba79802fc88df88e60927be95544a58531
parente5e634041bc184fe8975e0a32f96985a04ace09f
xfs: ignore extent size hints for always COW inodes

There is no point in applying extent size hints for always COW inodes,
as we would just have to COW any extra allocation beyond the data
actually written.

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