Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-17705 ptlrpc: replace synchronize_rcu() with rcu_barrier()
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
nrs_orr.c
diff --git
a/lustre/ptlrpc/nrs_orr.c
b/lustre/ptlrpc/nrs_orr.c
index
1aae791
..
6dd3213
100644
(file)
--- a/
lustre/ptlrpc/nrs_orr.c
+++ b/
lustre/ptlrpc/nrs_orr.c
@@
-623,7
+623,7
@@
static void nrs_orr_stop(struct ptlrpc_nrs_policy *policy)
rhashtable_free_and_destroy(&orrd->od_obj_hash,
nrs_orr_hash_exit, NULL);
}
-
synchronize_rcu
();
+
rcu_barrier
();
kmem_cache_destroy(orrd->od_cache);
OBD_FREE_PTR(orrd);