]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/nfs/pnfs.h
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)
commit84a80f62f71beac20a426709c04b49f2bd352291
tree8a6da9805e36e26425a2e482e6233dabebca60ca
parent2854475f6c612d59901d51c358abd05643278b53
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