I've also found that I can manually unmount the filesystem and trigger the bug, so I don't need to rely on autofs expiring the mount (that's good since that seemed to be broken in some early pre 2.6.38-rc1 versions:
Since I have a fairly reliable reproducer, I decided to try bisecting this down. The log so far:
$ git bisect log
git bisect start '--' 'fs/'
# bad: [1bae4ce27c9c90344f23c65ea6966c50ffeae2f5] Linux 2.6.38-rc2
git bisect bad 1bae4ce27c9c90344f23c65ea6966c50ffeae2f5
# good: [3c0eee3fe6a3a1c745379547c7e7c904aa64f6d5] Linux 2.6.37
git bisect good 3c0eee3fe6a3a1c745379547c7e7c904aa64f6d5
# good: [b9d919a4ac6cf031b8e065f82ad8f1b0c9ed74b1] Merge branch 'nfs-for-2.6.38' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6
git bisect good b9d919a4ac6cf031b8e065f82ad8f1b0c9ed74b1
# good: [b9d919a4ac6cf031b8e065f82ad8f1b0c9ed74b1] Merge branch 'nfs-for-2.6.38' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6
git bisect good b9d919a4ac6cf031b8e065f82ad8f1b0c9ed74b1
# good: [6ab82196492a0b6968a654a06aae923b28afef0d] Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block
git bisect good 6ab82196492a0b6968a654a06aae923b28afef0d
# bad: [9e8a462a0141b12e22c4a2f0c12e0542770401f0] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ecryptfs/ecryptfs-2.6
git bisect bad 9e8a462a0141b12e22c4a2f0c12e0542770401f0
...looks like I have about 5 more iterations to go.
I've also found that I can manually unmount the filesystem and trigger the bug, so I don't need to rely on autofs expiring the mount (that's good since that seemed to be broken in some early pre 2.6.38-rc1 versions:
Since I have a fairly reliable reproducer, I decided to try bisecting this down. The log so far:
$ git bisect log 344f23c65ea6966 c50ffeae2f5] Linux 2.6.38-rc2 44f23c65ea6966c 50ffeae2f5 c745379547c7e7c 904aa64f6d5] Linux 2.6.37 745379547c7e7c9 04aa64f6d5 31b8e065f82ad8f 1b0c9ed74b1] Merge branch 'nfs-for-2.6.38' of git://git. linux-nfs. org/projects/ trondmy/ nfs-2.6 1b8e065f82ad8f1 b0c9ed74b1 31b8e065f82ad8f 1b0c9ed74b1] Merge branch 'nfs-for-2.6.38' of git://git. linux-nfs. org/projects/ trondmy/ nfs-2.6 1b8e065f82ad8f1 b0c9ed74b1 6968a654a06aae9 23b28afef0d] Merge branch 'for-linus' of git://git. kernel. dk/linux- 2.6-block 968a654a06aae92 3b28afef0d 2e22c4a2f0c12e0 542770401f0] Merge branch 'for-linus' of git://git. kernel. org/pub/ scm/linux/ kernel/ git/ecryptfs/ ecryptfs- 2.6 e22c4a2f0c12e05 42770401f0
git bisect start '--' 'fs/'
# bad: [1bae4ce27c9c90
git bisect bad 1bae4ce27c9c903
# good: [3c0eee3fe6a3a1
git bisect good 3c0eee3fe6a3a1c
# good: [b9d919a4ac6cf0
git bisect good b9d919a4ac6cf03
# good: [b9d919a4ac6cf0
git bisect good b9d919a4ac6cf03
# good: [6ab82196492a0b
git bisect good 6ab82196492a0b6
# bad: [9e8a462a0141b1
git bisect bad 9e8a462a0141b12
...looks like I have about 5 more iterations to go.