summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2025-11-10 21:18:44 +0000
committerAndreas Gruenbacher <agruenba@redhat.com>2026-03-23 20:55:24 +0100
commite2de65130d6ce599cfc114c515665194fe2dbf1d (patch)
tree295c9c40d53bc96c362f98c96febd1f8a40777af /tools/perf/scripts/python
parent0ac82bc7b7922add7f92d85732b4531af55c1e90 (diff)
gfs2: Avoid unnecessary transactions in evict_linked_inode
In evict_linked_inode(), the truncate_inode_pages() calls are carried out inside a transaction. This code was added to what was then function gfs2_delete_inode() in commit 16615be18cadf ("[GFS2] Clean up journaled data writing"). These transactions are only used for creating revokes for the jdata buffers in the journal, so don't create such transactions when we know that the address space doesn't contain any jdata buffers for this inode and truncate the metadata address space outside of the transaction. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions