NFSv4 flock regression
Calls to flock(2) on an NFSv4 mounted filesystem are hanging while filling the logs with:
kernel: nfs4_reclaim_open_state: Lock reclaim failed!These errors cause the system log file to grow very large, raising the possibility of the root filesystem running out of space.
Environment:
- Red Hat Enterprise Linux 6.3 - 6.4
- kernel 2.6.32-279.22.1 or kernel 2.6.32-358.el6
- NFSv4 Client
- Any NFS server
Resolution:
Workarounds
- Downgrade to 2.6.32-279.19.1
- Use NFSv3 instead of NFSv4
Root Cause:
Regression introduced by a small portion of one of the commits required to fix Bugzilla 842435
commit a1d0b5eebc4fd6e0edb02688b35f17f67f42aea5 Author: Trond MyklebustDate: Mon Mar 5 19:56:44 2012 -0500 NFS: Properly handle the case where the delegation is revoked @@ -4415,7 +4426,9 @@ out: static int nfs4_proc_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) { - struct nfs4_exception exception = { }; + struct nfs4_exception exception = { + .state = state, + }; int err; do {
'OS > RedHat Bug Report' 카테고리의 다른 글
[BUG] RHEV guests hanging and crashing (0) | 2014.04.24 |
---|---|
[BUG] Problem with Hot-adding memory in VMWare RHEL guest (0) | 2014.04.24 |
[BUG] Kernel panic in gfs2_inplace_reserve (0) | 2014.04.24 |
[BUG] NFS client kernel panic in rpciod (0) | 2014.04.24 |
[BUG] GFS2 filesystem withdraw (0) | 2014.04.24 |
[BUG] Hot-adding memory in VMWare RHEL guest does not work. (0) | 2014.04.24 |
[BUG] Kernel Panic with message "kernel BUG at net/sunrpc/sched.c:655!" (0) | 2014.04.24 |
[BUG] Kernel panic in libfc code (0) | 2014.04.24 |
[BUG] yum raises ImportError exception (0) | 2014.04.24 |
[BUG] kernel panic in 'put_rpccred+0x13a/0x150 [sunrpc]' (0) | 2014.04.24 |