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>
此提交包含在:
@@ -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
|
||||
|
新增問題並參考
封鎖使用者