]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Give the lock stateid its own sequence queue
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 10 Jan 2008 21:07:54 +0000 (16:07 -0500)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 10 Jan 2008 21:35:32 +0000 (13:35 -0800)
commit3cd4f977e29ba7f9869c6c0b8eb2097946ee8dca
tree14fd83b50509a46c124f526f1eadff967482be33
parent3bd1d3dfc0e9b88d5272f86c86c06be24c3dd4ba
NFSv4: Give the lock stateid its own sequence queue

Sharing the open sequence queue causes a deadlock when we try to take
both a lock sequence id and and open sequence id.

This fixes the regression reported by Dimitri Puzin and Jeff Garzik: See

http://bugzilla.kernel.org/show_bug.cgi?id=9712

for details.

Reported-and-tested-by: Dimitri Puzin <bugs@psycast.de>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Tested-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nfs/nfs4_fs.h
fs/nfs/nfs4state.c