summaryrefslogtreecommitdiff
path: root/fs/jfs/jfs_debug.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-09-25 17:39:49 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-10-05 10:09:13 -0700
commit547beb5a252c871e58bfe25036da7bc7daec822e (patch)
tree2269d6ca0d6704d4ca11f4aa28d9bd9b469b9872 /fs/jfs/jfs_debug.c
parent57b13b72c7310ab9570bb19066f9227aa851f1af (diff)
xfs: xfs_defer_capture should absorb remaining block reservations
When xfs_defer_capture extracts the deferred ops and transaction state from a transaction, it should record the remaining block reservations so that when we continue the dfops chain, we can reserve the same number of blocks to use. We capture the reservations for both data and realtime volumes. This adds the requirement that every log intent item recovery function must be careful to reserve enough blocks to handle both itself and all defer ops that it can queue. On the other hand, this enables us to do away with the handwaving block estimation nonsense that was going on in xlog_finish_defer_ops. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/jfs/jfs_debug.c')
0 files changed, 0 insertions, 0 deletions