• Andreas Gruenbacher's avatar
    Revert "GFS2: Wait for iopen glock dequeues" · d4da3198
    Andreas Gruenbacher authored
    Revert commit 86d067a7: it turns out
    that waiting for iopen glock dequeues here isn't needed anymore because
    the bugs that commit was meant to fix have been fixed otherwise.
    
    In addition, we want to avoid waiting on glocks in gfs2_evict_inode in
    shrinker context because the shrinker may be invoked on behalf of DLM,
    in which case calling into DLM again would deadlock.  This commit makes
    the described scenario less likely without completely avoiding it; it's
    still a step in the right direction, though.
    Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
    Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
    d4da3198
super.c 40.2 KB