diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-12-10 18:03:53 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-12-14 09:20:10 -0800 |
commit | 8c57b88637d78a723e0854fc3d06c6d4c31a1e0c (patch) | |
tree | 9f071dde548f79a51ccbd2ba8b9bd764bbb6e493 /fs/xfs/libxfs/xfs_iext_tree.c | |
parent | 6e643cd094de3bd0f97edcc1db0089afa24d909f (diff) | |
download | linux-8c57b88637d78a723e0854fc3d06c6d4c31a1e0c.tar.gz linux-8c57b88637d78a723e0854fc3d06c6d4c31a1e0c.tar.bz2 linux-8c57b88637d78a723e0854fc3d06c6d4c31a1e0c.zip |
xfs: account for null transactions in bunmapi
In e1a4e37cc7b665 ("xfs: try to avoid blowing out the transaction
reservation when bunmaping a shared extent"), we try to constrain the
amount of real extents we unmap from the data fork in a given call so
that we don't blow out transaction reservations.
However, not all bunmapi operations require a transaction -- if we're
only removing a delalloc extent, no transaction is needed, so we have to
code against that.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/libxfs/xfs_iext_tree.c')
0 files changed, 0 insertions, 0 deletions