diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2016-11-28 14:57:42 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-11-28 14:57:42 +1100 |
commit | fd26a88093bab6529ea2de819114ca92dbd1d71d (patch) | |
tree | b6c08ae8b5bba087c1fbb2b54aefdcc5602fd394 /fs/xfs/xfs_acl.h | |
parent | 1247ec4c5f6e64b3cf01af58173820cdc61f11ed (diff) | |
download | linux-fd26a88093bab6529ea2de819114ca92dbd1d71d.tar.bz2 |
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_acl.h')
0 files changed, 0 insertions, 0 deletions