diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2025-03-06 22:13:28 +0100 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2025-03-10 18:15:38 +0100 |
commit | 41a8e04c94b868023986ec35ca06756e31e1e229 (patch) | |
tree | 84aa5984c7eeb71d32412a8f7f8a718576b759b2 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 79fe790a32a82a3e2d0afd28b294b71efea0d5b1 (diff) |
gfs2: skip if we cannot defer delete
In gfs2_evict_inode(), in the unlikely case that we cannot defer
deleting the inode, it is not safe to fall back to deleting the inode;
the only valid choice we have is to skip the delete.
In addition, in evict_should_delete(), if we cannot lock the inode glock
exclusively, we are in a bad enough state that skipping the delete is
likely a better choice than trying to recover from the failure later.
Fixes: c5b7a2400edc ("gfs2: Only defer deletes when we have an iopen glock")
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions