summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_icache.c
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2018-01-08 10:41:36 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2018-01-08 10:41:36 -0800
commite8341d9f6348640dff01d8c4a33695dc82bab5a3 (patch)
treee13c4141867a7d431b0855075a61b22cc30426cf /fs/xfs/xfs_icache.c
parenta6f485908d5210a5662f7a031bd1deeb3867e466 (diff)
downloadlinux-e8341d9f6348640dff01d8c4a33695dc82bab5a3.tar.gz
linux-e8341d9f6348640dff01d8c4a33695dc82bab5a3.tar.xz
xfs: fix up agi unlinked list reservations
The current AGI unlinked list addition and removal reservations do not reflect the worst case log usage. An unlinked list removal can log up to two on-disk inode clusters but only includes reservation for one. An unlinked list addition logs the on-disk cluster but includes reservation for an in-core inode. Update the AGI unlinked list reservation helpers to calculate the correct worst case reservation for the associated operations. Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> 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_icache.c')
0 files changed, 0 insertions, 0 deletions