pnfs/blocklayout: serialize GETDEVICEINFO calls
authorChristoph Hellwig <hch@lst.de>
Fri, 26 Sep 2014 14:02:50 +0000 (16:02 +0200)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 12 Nov 2014 19:22:52 +0000 (14:22 -0500)
commite0d4ed71ca0344494722a041780f004d2bcf0f11
treece776cb83bd3cefa8ace5bb529d1ec0480079022
parent8c393f9a721c30a030049a680e1bf896669bb279
pnfs/blocklayout: serialize GETDEVICEINFO calls

The rpc_pipefs code isn't thread safe, leading to occasional use after
frees when running xfstests generic/241 (dbench).

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: http://lkml.kernel.org/r/1411740170-18611-2-git-send-email-hch@lst.de
Cc: stable@vger.kernel.org # 3.17.x
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/blocklayout/rpc_pipefs.c
fs/nfs/netns.h