diff options
author | 2020-01-15 09:54:14 +0100 | |
---|---|---|
committer | 2020-06-05 20:19:21 +0200 | |
commit | b0dcffd8da3339ad0300587ce7030efdf2e914a9 (patch) | |
tree | 2f841d0407db819765fa0275c53216cf80869bb6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gfs2: Move inode generation number check into gfs2_inode_lookup (diff) | |
download | wireguard-linux-b0dcffd8da3339ad0300587ce7030efdf2e914a9.tar.xz wireguard-linux-b0dcffd8da3339ad0300587ce7030efdf2e914a9.zip |
gfs2: Check inode generation number in delete_work_func
In delete_work_func, if the iopen glock still has an inode attached,
limit the inode lookup to that specific generation number: in the likely
case that the inode was deleted on the node on which the inode's link
count dropped to zero, we can skip verifying the on-disk block type and
reading in the inode. The same applies if another node that had the
inode open managed to delete the inode before us.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions