• Steven Whitehouse's avatar
    [GFS2] Put back semaphore to avoid umount problem · 61be084e
    Steven Whitehouse authored
    Dave Teigland fixed this bug a while back, but I managed to mistakenly
    remove the semaphore during later development. It is required to avoid
    the list of inodes changing during an invalidate_inodes call. I have
    made it an rwsem since the read side will be taken frequently during
    normal filesystem operation. The write site will only happen during
    umount of the file system.
    
    Also the bug only triggers when using the DLM lock manager and only then
    under certain conditions as its timing related.
    Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
    Cc: David Teigland <teigland@redhat.com>
    61be084e
glock.c 45.6 KB