]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] knfsd: nfsd4: create separate laundromat workqueue
authorNeilBrown <neilb@cse.unsw.edu.au>
Fri, 24 Jun 2005 05:03:19 +0000 (22:03 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 24 Jun 2005 07:06:31 +0000 (00:06 -0700)
commit115b41ffcf24f59d56ab8f452f17f67da025bdb0
tree3defc7d637584c133421b6a0314756cb78467bc9
parentf4f4541559088af8e8b81912b2506c50dfd3ea1a
[PATCH] knfsd: nfsd4: create separate laundromat workqueue

We're running the laundromat work on the default kevent worker thread.  But
the laundromat takes the nfsv4 state semaphore, which is used for way too much
stuff, and the potential for deadlocks is high.  Better to have this on a
separate workqueue.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfsd/nfs4state.c