diff options
author | Christoph Hellwig <hch@lst.de> | 2019-02-15 08:02:48 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-02-17 11:55:54 -0800 |
commit | d8ae82e394bd5d836a32864b1ca22757ef8bb8ee (patch) | |
tree | 82a48c5a25b15277b9a79fff0b4b2339bc5cb4f1 /fs/xfs/xfs_bmap_item.c | |
parent | c8b54673b30a9668d626a9e48d1659c21300f2a4 (diff) |
xfs: split XFS_BMAPI_DELALLOC handling from xfs_bmapi_write
Delalloc conversion has traditionally been part of our function to
allocate blocks on disk (first xfs_bmapi, then xfs_bmapi_write), but
delalloc conversion is a little special as we really do not want
to allocate blocks over holes, for which we don't have reservations.
Split the delalloc conversions into a separate helper to keep the
code simple and structured.
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>
Diffstat (limited to 'fs/xfs/xfs_bmap_item.c')
0 files changed, 0 insertions, 0 deletions