]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: improve the IOMAP_NOWAIT check for COW inodes
authorChristoph Hellwig <hch@lst.de>
Sat, 19 Oct 2019 16:09:47 +0000 (09:09 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 21 Oct 2019 16:04:58 +0000 (09:04 -0700)
commit16fa205b919f939765032a6b54f8a00174493097
treebe95f2994bd1575a6c8ff4a3e7ff2b2ddc30fe0a
parent6fccd632fb4f8e91f4a435bee159d9c5fc4967fa
xfs: improve the IOMAP_NOWAIT check for COW inodes

Only bail out once we know that a COW allocation is actually required,
similar to how we handle normal data fork allocations.

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_iomap.c