source: branches/fc13-dev/server/common/patches/openafs-release-glock.patch @ 1616

Last change on this file since 1616 was 1555, checked in by mitchb, 14 years ago
There can be only one! (so stop hogging the GLOCK) OpenAFS 1.4.12 had bogus "lost connection" messages, which went away when we rolled back to 1.4.11. However, we're now occasionally having hard lockups because readdir deadlocks waiting for the GLOCK when filldir is holding it and pagefaults. Apply 829838e45f94921d22335154587216f7842e3955 from upstream as a compromise until we can move into the future with OpenAFS 1.5
File size: 507 bytes
  • src/afs/LINUX/osi_vnodeops.c

    diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c
    index 77c4440..1d83549 100644
    a b afs_linux_readdir(struct file *fp, void *dirbuf, filldir_t filldir) 
    308308                /* clean up from afs_FindVCache */
    309309                afs_PutVCache(tvc);
    310310            }
     311            AFS_GUNLOCK();
    311312            code = (*filldir) (dirbuf, de->name, len, offset, ino, type);
     313            AFS_GLOCK();
    312314        }
    314316        code = (*filldir) (dirbuf, de->name, len, offset, ino);
Note: See TracBrowser for help on using the repository browser.