Bug#576405: linux-image-2.6.26: Deadlock during combined NFS3/NFS4 use
Package: linux-image-2.6.26
Version: nfsfix.1
Severity: important
When an export is exported and mounted via autofs using BOTH
NFSv3 and NFSv4 the NFSv4 one deadlocks.
Setup - transition from v3 to v4.
System A is still perusing the old map:
cat /etc/auto.local | grep iPodResolution
iPodResolution -rsize=4096,wsize=4096,rw eden:/exports/md4/videoiPod
System B is using the newever version of same map with a v4 mount:
cat /var/yp/auto.local | grep iPodResolution
iPodResolution -fstype=nfs4 eden:/md4/videoiPod
If system B is writing to the mount and A is reading from it B starts getting
I/O errors/BAD FDs. If B is running from disk lots of things fail. If B is
running diskless - total lock up.
Same setup with V3 only has been working flawlessly for 5+ years. Same setup with
V4 only (when the v3 machines are off) seems to work OK as well.
Fairly easy to reproduce.
I am not sure at this point if autofs has any role in this and I will not be in
a position to retest until 19th. Apologies.
Tested with: stock debian, older version with just the nfs regression fix,
stock recompiled with preempt, 686 and 486 versions.
-- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages linux-image-2.6.26 depends on:
ii coreutils 6.10-6 The GNU core utilities
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
linux-image-2.6.26 recommends no packages.
Versions of packages linux-image-2.6.26 suggests:
ii fdutils 5.5-20060227-3 Linux floppy utilities
pn ksymoops <none> (no description available)
pn linux-doc-2.6.26 | linux- <none> (no description available)
-- debconf-show failed
Reply to: