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>
此提交包含在:
Trond Myklebust
2015-03-09 15:23:35 -04:00
父節點 2854475f6c
當前提交 84a80f62f7
共有 6 個檔案被更改,包括 7 行新增8 行删除

查看文件

@@ -33,7 +33,7 @@ bl_free_deviceid_node(struct nfs4_deviceid_node *d)
container_of(d, struct pnfs_block_dev, node);
bl_free_device(dev);
kfree(dev);
kfree_rcu(dev, node.rcu);
}
static int