diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2020-01-15 09:54:14 +0100 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2020-06-05 20:19:21 +0200 |
commit | b0dcffd8da3339ad0300587ce7030efdf2e914a9 (patch) | |
tree | 2f841d0407db819765fa0275c53216cf80869bb6 /crypto | |
parent | b66648ad6dcfefd9f02b5408c1381987c090cb13 (diff) |
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 'crypto')
0 files changed, 0 insertions, 0 deletions