diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2024-08-26 20:06:21 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2024-09-25 17:11:49 +0200 |
commit | 7c6f714d88475ceae5342264858a641eafa19632 (patch) | |
tree | 9023a70289b236a79c81a720fb063b928928baa7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 160bc9555d8654464cbbd7bb1f6687048471d2f6 (diff) |
gfs2: Fix unlinked inode cleanup
Before commit f0e56edc2ec7 ("gfs2: Split the two kinds of glock "delete"
work"), function delete_work_func() was used to trigger the eviction of
in-memory inodes from remote as well as deleting unlinked inodes at a
later point. These two kinds of work were then split into two kinds of
work, and the two places in the code were deferred deletion of inodes is
required accidentally ended up queuing the wrong kind of work. This
caused unlinked inodes to be left behind, which could in the worst case
fill up filesystems and require a filesystem check to recover.
Fix that by queuing the right kind of work in try_rgrp_unlink() and
gfs2_drop_inode().
Fixes: f0e56edc2ec7 ("gfs2: Split the two kinds of glock "delete" work")
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions