git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2854475
)
NFSv4.1: Convert pNFS deviceid to use kfree_rcu()
author
Trond Myklebust
<trond.myklebust@primarydata.com>
Mon, 9 Mar 2015 19:23:35 +0000
(15:23 -0400)
committer
Trond Myklebust
<trond.myklebust@primarydata.com>
Fri, 27 Mar 2015 16:32:24 +0000
(12:32 -0400)
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
patch
|
blob
|
history
fs/nfs/filelayout/filelayoutdev.c
patch
|
blob
|
history
fs/nfs/flexfilelayout/flexfilelayoutdev.c
patch
|
blob
|
history
fs/nfs/objlayout/objio_osd.c
patch
|
blob
|
history
fs/nfs/pnfs.h
patch
|
blob
|
history
fs/nfs/pnfs_dev.c
patch
|
blob
|
history
diff --git
a/fs/nfs/blocklayout/dev.c
b/fs/nfs/blocklayout/dev.c
index
5aed4f9
..
e535599
100644
(file)
--- a/
fs/nfs/blocklayout/dev.c
+++ b/
fs/nfs/blocklayout/dev.c
@@
-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
diff --cc
fs/nfs/filelayout/filelayoutdev.c
Simple merge
diff --cc
fs/nfs/flexfilelayout/flexfilelayoutdev.c
Simple merge
diff --cc
fs/nfs/objlayout/objio_osd.c
Simple merge
diff --cc
fs/nfs/pnfs.h
Simple merge
diff --cc
fs/nfs/pnfs_dev.c
Simple merge