diff options
author | 2014-11-21 14:19:28 -0500 | |
---|---|---|
committer | 2014-12-09 11:22:22 -0500 | |
commit | 812443865c5fc255363d4a684a62c086af1addca (patch) | |
tree | aed67f73c91814fc0ee5e59d53b8c97a28148074 /include/trace | |
parent | sunrpc: require svc_create callers to pass in meaningful shutdown routine (diff) | |
download | linux-812443865c5fc255363d4a684a62c086af1addca.tar.gz linux-812443865c5fc255363d4a684a62c086af1addca.tar.bz2 linux-812443865c5fc255363d4a684a62c086af1addca.zip |
sunrpc: add a rcu_head to svc_rqst and use kfree_rcu to free it
...also make the manipulation of sp_all_threads list use RCU-friendly
functions.
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Tested-by: Chris Worley <chris.worley@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/sunrpc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/trace/events/sunrpc.h b/include/trace/events/sunrpc.h index 5848fc235869..08a5fed50f34 100644 --- a/include/trace/events/sunrpc.h +++ b/include/trace/events/sunrpc.h @@ -418,7 +418,8 @@ TRACE_EVENT(xs_tcp_data_recv, { (1UL << RQ_LOCAL), "RQ_LOCAL"}, \ { (1UL << RQ_USEDEFERRAL), "RQ_USEDEFERRAL"}, \ { (1UL << RQ_DROPME), "RQ_DROPME"}, \ - { (1UL << RQ_SPLICE_OK), "RQ_SPLICE_OK"}) + { (1UL << RQ_SPLICE_OK), "RQ_SPLICE_OK"}, \ + { (1UL << RQ_VICTIM), "RQ_VICTIM"}) TRACE_EVENT(svc_recv, TP_PROTO(struct svc_rqst *rqst, int status), |