]> 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)
commit6dbc1b118fa3a7fdb9058fa374265a9669fec391
tree8a6da9805e36e26425a2e482e6233dabebca60ca
parent1f72a3e79b3e0be7678d89a1e00cd007ee313c92
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