summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_icreate_item.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2016-11-28 14:57:42 +1100
committerDave Chinner <david@fromorbit.com>2016-11-28 14:57:42 +1100
commitfd26a88093bab6529ea2de819114ca92dbd1d71d (patch)
treeb6c08ae8b5bba087c1fbb2b54aefdcc5602fd394 /fs/xfs/xfs_icreate_item.c
parent1247ec4c5f6e64b3cf01af58173820cdc61f11ed (diff)
xfs: factor rmap btree size into the indlen calculations
When we're estimating the amount of space it's going to take to satisfy a delalloc reservation, we need to include the space that we might need to grow the rmapbt. This helps us to avoid running out of space later when _iomap_write_allocate needs more space than we reserved. Eryu Guan observed this happening on generic/224 when sunit/swidth were set. Reported-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_icreate_item.c')
0 files changed, 0 insertions, 0 deletions