]> 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)
commitc3033b911c926f06c221fa571eb5f6f694b19456
treebe95f2994bd1575a6c8ff4a3e7ff2b2ddc30fe0a
parent50907833edd39ea21c780bc85de529ae3f13bf14
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