• Andreas Gruenbacher's avatar
    gfs2: Turn gl_delete into a delayed work · a0e3cc65
    Andreas Gruenbacher authored
    This requires flushing delayed work items in gfs2_make_fs_ro (which is called
    before unmounting a filesystem).
    
    When inodes are deleted and then recreated, pending gl_delete work items would
    have no effect because the inode generations will have changed, so we can
    cancel any pending gl_delete works before reusing iopen glocks.
    Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
    a0e3cc65
incore.h 23.9 KB