]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1: Convert pNFS deviceid to use kfree_rcu()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 9 Mar 2015 19:23:35 +0000 (15:23 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 27 Mar 2015 16:32:24 +0000 (12:32 -0400)
commit06f1b7151f43fed746ca32334c26de35da8a4231
tree8a6da9805e36e26425a2e482e6233dabebca60ca
parent6e5170466f15abd70ce830ebc7f18a260d32f4f6
NFSv4.1: Convert pNFS deviceid to use kfree_rcu()

Use of synchronize_rcu() when unmounting and potentially freeing a lot
of deviceids is problematic. There really is no reason why we can't just
use kfree_rcu() here.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/blocklayout/dev.c
fs/nfs/filelayout/filelayoutdev.c
fs/nfs/flexfilelayout/flexfilelayoutdev.c
fs/nfs/objlayout/objio_osd.c
fs/nfs/pnfs.h
fs/nfs/pnfs_dev.c