• Bob Peterson's avatar
    GFS2: glock livelock · 1a0eae88
    Bob Peterson authored
    This patch fixes a couple gfs2 problems with the reclaiming of
    unlinked dinodes.  First, there were a couple of livelocks where
    everything would come to a halt waiting for a glock that was
    seemingly held by a process that no longer existed.  In fact, the
    process did exist, it just had the wrong pid number in the holder
    information.  Second, there was a lock ordering problem between
    inode locking and glock locking.  Third, glock/inode contention
    could sometimes cause inodes to be improperly marked invalid by
    iget_failed.
    Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
    1a0eae88
glock.c 46.2 KB