diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-09-22 22:58:39 -0700 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-10-05 10:04:42 +0200 |
| commit | 035d27cb2ae7f9a2f2e2625671086995c6b45433 (patch) | |
| tree | 1c3729dfdfabe855666a4aa397a580cde7d2dccf /tools/perf/scripts/python | |
| parent | 07c73d1f0be610a8c14a2d73ed5cbda8ea9749d7 (diff) | |
xfs: pass xfs_trans_resv object to reservation calculation helpers
xfs_calc_namespace_reservations computes the directory tree related
transaction reservations for a given xfs_trans_resv object. The helpers
it relies on, however, read the live one from the xfs_mount even if
we're doing this for minlogsize calculations. In practice this
shouldn't be a big deal since the minlogsize and live reservation
objects don't differ in a meaningful way, but LOLLM complained about the
inconsistency so let's fix it anyway.
Fixes: 7dba4a5fe1c5cd ("xfs: extend transaction reservations for parent attributes")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Assisted-by: LOLLM # finding obvious bugs
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
