]> git.baikalelectronics.ru Git - kernel.git/commit
[GFS2] nfsd readdirplus assertion failure
authorWendy Cheng <wcheng@redhat.com>
Tue, 6 Feb 2007 08:52:16 +0000 (03:52 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 6 Feb 2007 16:36:01 +0000 (11:36 -0500)
commita2fd96033704c637e20cebad4748f59b64f79190
tree53e316e1f2d9aacc01f71eee23a8f2b04230c788
parent3cf7386e9291439d5bc514a1ca370983287885ac
[GFS2] nfsd readdirplus assertion failure

Glock assertion failure found in '07 NFS connectathon. One of the NFSDs
is doing a "readdirplus" procedure call. It passes the logic into
gfs2_readdir() where it obtains its directory inode glock. This is then
followed by filehandle construction that invokes lookup code. It hits
the assertion failure while trying to obtain the inode glock again
inside gfs2_drevalidate().

This patch bypasses the recursive glock call if caller already holds the
lock.

Signed-off-by: S. Wendy Cheng <wcheng@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_dentry.c